Specify the color to be used when rendering text.
Values
By default text color value is black
.
For more information on how to specify colors visit the color values section.
Examples
Not specifying a text-color
value will result in rendering text with black color:
GET
https://assets.imglab-cdn.net/particles-02.jpeg
In this example we specify a named color using text-color=yellow
, resulting in text being rendered with yellow color:
GET
https://assets.imglab-cdn.net/particles.jpeg?text-color=yellow
We use a short hexadecimal white color value FFF
with text-color=FFF
:
GET
https://assets.imglab-cdn.net/particles.jpeg?text-color=FFF
It's also possible to set a color value with alpha. In this case we are specifying a semi-transparent white color with text-color=255,255,255,128
:
GET
https://assets.imglab-cdn.net/particles.jpeg?text-color=255%2C255%2C255%2C128