Skip to main content
Skip table of contents

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:

  • rrggbb A hex color code which produces an opaque color

  • rrggbbaa A hex color code with a transparency value

  • r,g,b A 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,a Same 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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.