|
|
|
|
|
- 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 |
---|
Black | | 0 | #000000 | 0 | 0 | 0 | 0 | 0 | 0 | Bronze | | 3309517 | #CD7F32 | 205 | 127 | 50 | 30 | 61 | 50 | DarkBlue | | 8388608 | #000080 | 0 | 0 | 128 | 240 | 100 | 25 | DarkBrown | | 10584 | #582900 | 88 | 41 | 0 | 28 | 100 | 17 | DarkCyan | | 8421376 | #008080 | 0 | 128 | 128 | 180 | 100 | 25 | DarkGray | | 8421504 | #808080 | 128 | 128 | 128 | 0 | 0 | 50 | DarkGreen | | 32768 | #008000 | 0 | 128 | 0 | 120 | 100 | 25 | DarkMagenta | | 8388736 | #800080 | 128 | 0 | 128 | 300 | 100 | 25 | DarkOrange | | 36095 | #FF8C00 | 255 | 140 | 0 | 33 | 100 | 50 | DarkPink | | 10382589 | #FD6C9E | 253 | 108 | 158 | 339 | 97 | 71 | DarkPurple | | 13828244 | #9400D3 | 148 | 0 | 211 | 282 | 100 | 41 | DarkRed | | 128 | #800000 | 128 | 0 | 0 | 0 | 100 | 25 | DarkYellow | | 32896 | #808000 | 128 | 128 | 0 | 60 | 100 | 25 | Gold | | 55295 | #FFD700 | 255 | 215 | 0 | 51 | 100 | 50 | LightBlue | | 16711680 | #0000FF | 0 | 0 | 255 | 240 | 100 | 50 | LightBrown | | 2763429 | #A52A2A | 165 | 42 | 42 | 0 | 59 | 41 | LightCyan | | 16776960 | #00FFFF | 0 | 255 | 255 | 180 | 100 | 50 | LightGray | | 12632256 | #C0C0C0 | 192 | 192 | 192 | 0 | 0 | 75 | LightGreen | | 65280 | #00FF00 | 0 | 255 | 0 | 120 | 100 | 50 | LightMagenta | | 16711935 | #FF00FF | 255 | 0 | 255 | 300 | 100 | 50 | LightOrange | | 42495 | #FFA500 | 255 | 165 | 0 | 39 | 100 | 50 | LightPink | | 13353215 | #FFC0CB | 255 | 192 | 203 | 350 | 100 | 88 | LightPurple | | 15631086 | #EE82EE | 238 | 130 | 238 | 300 | 76 | 72 | LightRed | | 255 | #FF0000 | 255 | 0 | 0 | 0 | 100 | 50 | LightYellow | | 65535 | #FFFF00 | 255 | 255 | 0 | 60 | 100 | 50 | PastelBlue | | 16751001 | #9999FF | 153 | 153 | 255 | 240 | 100 | 80 | PastelBrown | | 6510979 | #835963 | 131 | 89 | 99 | 346 | 19 | 43 | PastelCyan | | 16777113 | #99FFFF | 153 | 255 | 255 | 180 | 100 | 80 | PastelGreen | | 10092441 | #99FF99 | 153 | 255 | 153 | 120 | 100 | 80 | PastelMagenta | | 16751103 | #FF99FF | 255 | 153 | 255 | 300 | 100 | 80 | PastelOrange | | 4699135 | #FFB347 | 255 | 179 | 71 | 35 | 100 | 64 | PastelPink | | 14471679 | #FFD1DC | 255 | 209 | 220 | 346 | 100 | 91 | PastelPurple | | 13212107 | #CB99C9 | 203 | 153 | 201 | 302 | 32 | 70 | PastelRed | | 10066431 | #FF9999 | 255 | 153 | 153 | 0 | 100 | 80 | PastelYellow | | 10092543 | #FFFF99 | 255 | 255 | 153 | 60 | 100 | 80 | Silver | | 12632256 | #C0C0C0 | 192 | 192 | 192 | 0 | 0 | 75 | Transparent | | -1 | | | | | | | | White | | 16777215 | #FFFFFF | 255 | 255 | 255 | 0 | 0 | 100 | YellowToolhelp | | 15269887 | #FFFFE8 | 255 | 255 | 232 | 60 | 100 | 95 |
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 ..BrushColor for example. Use in the Table controls: - The DefaultColor constant cannot be used to cancel the change of color for the entire Table control. Indeed, changing the color of the Table control consists in modifying the style of the control, the new color becomes the default color.
- To modify the color of a Table control then to go back to the previous color, the color must be modified row by row or column by column.
- See Managing colors in the Table controls for more details.
Note: 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 |
---|
iBlack | Black | iDarkBlue | DarkBlue | iDarkCyan | DarkCyan | iDarkGray | DarkGray | iDarkGreen | DarkGreen | iDarkMagenta | DarkMagenta | iDarkRed | DarkRed | iDarkYellow | DarkYellow | iLightBlue | LightBlue | iLightCyan | LightCyan | iLightGray | LightGray | iLightGreen | LightGreen | iLightMagenta | LightMagenta | iLightRed | LightRed | iLightYellow | LightYellow | iTransparent | Transparent | iWhite | White | iYellowToolhelp | YellowToolhelp |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|