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
Format | Example | Description |
---|---|---|
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. |
#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 | 16711680 | Legacy 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) |