|
|
|
|
|
- Overview
- Specific constants
- iSystem
- DefaultColor
The color constants are mainly used in the chart functions, the print functions and the drawing functions. The color constants are as follows: | | | | | | | | | | WLanguage constant | | WINDEV value | HEXA value | Comp. RED | Comp. GREEN | Comp. BLUE | Hue | Satu- ration | Light- ness |
---|
Transparent | | -1 | | | | | | | | White | | 16777215 | #FFFFFF | 255 | 255 | 255 | 0 | 0 | 100 | Black | | 0 | #000000 | 0 | 0 | 0 | 0 | 0 | 0 | Silver | | 12632256 | #C0C0C0 | 192 | 192 | 192 | 0 | 0 | 75 | Bronze | | 3309517 | #CD7F32 | 205 | 127 | 50 | 30 | 61 | 50 | Gold | | 55295 | #FFD700 | 255 | 215 | 0 | 51 | 100 | 50 | LightGray | | 12632256 | #C0C0C0 | 192 | 192 | 192 | 0 | 0 | 75 | DarkGray | | 8421504 | #808080 | 128 | 128 | 128 | 0 | 0 | 50 | PastelRed | | 10066431 | #FF9999 | 255 | 153 | 153 | 0 | 100 | 80 | LightRed | | 255 | #FF0000 | 255 | 0 | 0 | 0 | 100 | 50 | DarkRed | | 128 | #800000 | 128 | 0 | 0 | 0 | 100 | 25 | PastelGreen | | 10092441 | #99FF99 | 153 | 255 | 153 | 120 | 100 | 80 | LightGreen | | 65280 | #00FF00 | 0 | 255 | 0 | 120 | 100 | 50 | DarkGreen | | 32768 | #008000 | 0 | 128 | 0 | 120 | 100 | 25 | PastelBlue | | 16751001 | #9999FF | 153 | 153 | 255 | 240 | 100 | 80 | LightBlue | | 16711680 | #0000FF | 0 | 0 | 255 | 240 | 100 | 50 | DarkBlue | | 8388608 | #000080 | 0 | 0 | 128 | 240 | 100 | 25 | PastelCyan | | 16777113 | #99FFFF | 153 | 255 | 255 | 180 | 100 | 80 | LightCyan | | 16776960 | #00FFFF | 0 | 255 | 255 | 180 | 100 | 50 | DarkCyan | | 8421376 | #008080 | 0 | 128 | 128 | 180 | 100 | 25 | PastelYellow | | 10092543 | #FFFF99 | 255 | 255 | 153 | 60 | 100 | 80 | LightYellow | | 65535 | #FFFF00 | 255 | 255 | 0 | 60 | 100 | 50 | DarkYellow | | 32896 | #808000 | 128 | 128 | 0 | 60 | 100 | 25 | YellowToolhelp | | 15269887 | #FFFFE8 | 255 | 255 | 232 | 60 | 100 | 95 | PastelMagenta | | 16751103 | #FF99FF | 255 | 153 | 255 | 300 | 100 | 80 | LightMagenta | | 16711935 | #FF00FF | 255 | 0 | 255 | 300 | 100 | 50 | DarkMagenta | | 8388736 | #800080 | 128 | 0 | 128 | 300 | 100 | 25 | PastelPink | | 14471679 | #FFD1DC | 255 | 209 | 220 | 346 | 100 | 91 | LightPink | | 13353215 | #FFC0CB | 255 | 192 | 203 | 350 | 100 | 88 | DarkPink | | 10382589 | #FD6C9E | 253 | 108 | 158 | 339 | 97 | 71 | PastelPurple | | 13212107 | #CB99C9 | 203 | 153 | 201 | 302 | 32 | 70 | LightPurple | | 15631086 | #EE82EE | 238 | 130 | 238 | 300 | 76 | 72 | DarkPurple | | 13828244 | #9400D3 | 148 | 0 | 211 | 282 | 100 | 41 | PastelBrown | | 6510979 | #835963 | 131 | 89 | 99 | 346 | 19 | 43 | LightBrown | | 2763429 | #A52A2A | 165 | 42 | 42 | 0 | 59 | 41 | DarkBrown | | 10584 | #582900 | 88 | 41 | 0 | 28 | 100 | 17 | PastelOrange | | 4699135 | #FFB347 | 255 | 179 | 71 | 35 | 100 | 64 | LightOrange | | 42495 | #FFA500 | 255 | 165 | 0 | 39 | 100 | 50 | DarkOrange | | 36095 | #FF8C00 | 255 | 140 | 0 | 33 | 100 | 50 |
The iSystem constant corresponds to the system color defined in the display properties of the Windows desktop. DefaultColor The DefaultColor constant is used to restore the default color of a control (the one defined in the editor). This constant can be used with Color and BackgroundColor for example. Use in the Table controls: - The DefaultColor constant cannot be used to undo the change of color for the entire Table control. Changing the color of the Table control means changing the style of the control, and the new color becomes the default color.
- To change the color of a Table control and then to go back to the previous color, you must change it row by row or column by column.
- For more details on the use of the DefaultColor constant in Table controls, see Managing colors in the Table controls.
Remark: For backward compatibility with the earlier versions, the iDefaultColor constant can be used instead of DefaultColor. List of constants kept for backward compatibility | | Former constant | New constant |
---|
iTransparent | Transparent | iWhite | White | iBlack | Black | iLightGray | LightGray | iDarkGray | DarkGray | iLightRed | LightRed | iDarkRed | DarkRed | iLightGreen | LightGreen | iDarkGreen | DarkGreen | iLightBlue | LightBlue | iDarkBlue | DarkBlue | iLightCyan | LightCyan | iDarkCyan | DarkCyan | iLightYellow | LightYellow | iDarkYellow | DarkYellow | iYellowToolhelp | YellowToolhelp | iLightMagenta | LightMagenta | iDarkMagenta | DarkMagenta |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|