PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Specific constants
  • iSystem
  • DefaultColor
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
The color constants are mainly used in the chart functions, the print functions and the drawing functions. The color constants are as follows:
WLanguage constantWINDEV valueHEXA valueComp. REDComp. GREENComp. BLUEHueSatu-
ration
Light-
ness
Black0#000000000000
Versions 21 and later
Bronze
New in version 21
Bronze
Bronze
3309517#CD7F3220512750306150
DarkBlue8388608#0000800012824010025
Versions 21 and later
DarkBrown
New in version 21
DarkBrown
DarkBrown
10584#582900884102810017
DarkCyan8421376#008080012812818010025
DarkGray8421504#8080801281281280050
DarkGreen32768#0080000128012010025
DarkMagenta8388736#800080128012830010025
Versions 21 and later
DarkOrange
New in version 21
DarkOrange
DarkOrange
36095#FF8C0025514003310050
Versions 21 and later
DarkPink
New in version 21
DarkPink
DarkPink
10382589#FD6C9E2531081583399771
Versions 21 and later
DarkPurple
New in version 21
DarkPurple
DarkPurple
13828244#9400D3148021128210041
DarkRed128#80000012800010025
DarkYellow32896#80800012812806010025
Versions 21 and later
Gold
New in version 21
Gold
Gold
55295#FFD70025521505110050
LightBlue16711680#0000FF0025524010050
Versions 21 and later
LightBrown
New in version 21
LightBrown
LightBrown
2763429#A52A2A165424205941
LightCyan16776960#00FFFF025525518010050
LightGray12632256#C0C0C01921921920075
LightGreen65280#00FF000255012010050
LightMagenta16711935#FF00FF255025530010050
Versions 21 and later
LightOrange
New in version 21
LightOrange
LightOrange
42495#FFA50025516503910050
Versions 21 and later
LightPink
New in version 21
LightPink
LightPink
13353215#FFC0CB25519220335010088
Versions 21 and later
LightPurple
New in version 21
LightPurple
LightPurple
15631086#EE82EE2381302383007672
LightRed255#FF000025500010050
LightYellow65535#FFFF0025525506010050
PastelBlue16751001#9999FF15315325524010080
Versions 21 and later
PastelBrown
New in version 21
PastelBrown
PastelBrown
6510979#83596313189993461943
PastelCyan16777113#99FFFF15325525518010080
PastelGreen10092441#99FF9915325515312010080
PastelMagenta16751103#FF99FF25515325530010080
Versions 21 and later
PastelOrange
New in version 21
PastelOrange
PastelOrange
4699135#FFB347255179713510064
Versions 21 and later
PastelPink
New in version 21
PastelPink
PastelPink
14471679#FFD1DC25520922034610091
Versions 21 and later
PastelPurple
New in version 21
PastelPurple
PastelPurple
13212107#CB99C92031532013023270
PastelRed10066431#FF9999255153153010080
PastelYellow10092543#FFFF992552551536010080
Versions 21 and later
Silver
New in version 21
Silver
Silver
12632256#C0C0C01921921920075
Transparent-1
White16777215#FFFFFF25525525500100
YellowToolhelp15269887#FFFFE82552552326010095
Specific constants

iSystem

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 constantNew constant
iBlackBlack
iDarkBlueDarkBlue
iDarkCyanDarkCyan
iDarkGrayDarkGray
iDarkGreenDarkGreen
iDarkMagentaDarkMagenta
iDarkRedDarkRed
iDarkYellowDarkYellow
iLightBlueLightBlue
iLightCyanLightCyan
iLightGrayLightGray
iLightGreenLightGreen
iLightMagentaLightMagenta
iLightRedLightRed
iLightYellowLightYellow
iTransparentTransparent
iWhiteWhite
iYellowToolhelpYellowToolhelp
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment