Color values
The image server accepts color values for a number of parameters.
Each color value should be in RGB format, with following formatting strings allowed:
rrggbbA hex color code which produces an opaque colorrrggbbaaA hex color code with a transparency valuer,g,bA color code where each of red, green, blue colors are provided in a decimal format. Each component entry should be a decimal value between 0 and 255, inclusive. Produces an opaque color.r,g,b,aSame as the above, but allows to specify the transparency channel value. The alpha channel component should be a decimal value between 0 and 255, inclusive.
Examples
Value | Description |
|---|---|
ffffff | Pure white |
ffffff7f | Pure white, 50% opacity |
0,255,0 | Pure green |
0,255,0,127 | Pure green, 50% opacity |