Skip to main content
Skip table of contents

Color codes in Digas Parameters

Most Digas applications support parameters from Digas registry or other parameter stores. Where such parameters describe a color, most up-to-date applications support different standard formats as they are described in this page. Many colors don't support any transparency (alpha value), so you can assume an alpha is only supported where explicitly documented.

Color formats

FormatExampleDescription
rgb(r, g, b)rgb(100, 200, 200)

r, g, b represent red, green and blue as decimal figures in a range from 0 to 255, case-insensitive. White spaces between numbers and commas are ignored.

rgba(r, g, b, a)RGBA(100, 200, 200, 0.8)

r, g, b represent red, green and blue as decimal figures in a range from 0 to 255, case-insensitive.
a represents the alpha channel as a floating point value from 0.0 to 1.0: 1.0 means the color's opacity is 100%, so the transparency is zero.
White spaces between numbers and commas are ignored.

#aabbcc#64c8c8(aa, bb, cc are hex values)
#abc#6cc(a, b, c are hex values interpreted as a0, b0, c0)

name

darkturquoise

color names like in web standard (see complete list of 140 colors in https://de.wikipedia.org/wiki/Webfarbe#CSS_3), additional support for "gray" like "grey"

16711680

16711680Legacy format! For compatibility reasons this color format is still supported, which was used in older versions of some Digas applications. Further support of this format is not promised.
3 byte decimal number encoding Windows API's COLORREF value as a number (< 16,7 million)
JavaScript errors detected

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

If this problem persists, please contact our support.