ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Print functions
  • Overview
  • Specific constants
  • iSystem
  • DefaultColor
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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
Transparent-1
White16777215#FFFFFF25525525500100
Black0#000000000000
Silver12632256#C0C0C01921921920075
Bronze3309517#CD7F3220512750306150
Gold55295#FFD70025521505110050
LightGray12632256#C0C0C01921921920075
DarkGray8421504#8080801281281280050
PastelRed10066431#FF9999255153153010080
LightRed255#FF000025500010050
DarkRed128#80000012800010025
PastelGreen10092441#99FF9915325515312010080
LightGreen65280#00FF000255012010050
DarkGreen32768#0080000128012010025
PastelBlue16751001#9999FF15315325524010080
LightBlue16711680#0000FF0025524010050
DarkBlue8388608#0000800012824010025
PastelCyan16777113#99FFFF15325525518010080
LightCyan16776960#00FFFF025525518010050
DarkCyan8421376#008080012812818010025
PastelYellow10092543#FFFF992552551536010080
LightYellow65535#FFFF0025525506010050
DarkYellow32896#80800012812806010025
YellowToolhelp15269887#FFFFE82552552326010095
PastelMagenta16751103#FF99FF25515325530010080
LightMagenta16711935#FF00FF255025530010050
DarkMagenta8388736#800080128012830010025
PastelPink14471679#FFD1DC25520922034610091
LightPink13353215#FFC0CB25519220335010088
DarkPink10382589#FD6C9E2531081583399771
PastelPurple13212107#CB99C92031532013023270
LightPurple15631086#EE82EE2381302383007672
DarkPurple13828244#9400D3148021128210041
PastelBrown6510979#83596313189993461943
LightBrown2763429#A52A2A165424205941
DarkBrown10584#582900884102810017
PastelOrange4699135#FFB347255179713510064
LightOrange42495#FFA50025516503910050
DarkOrange36095#FF8C0025514003310050
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 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 constantNew constant
iTransparentTransparent
iWhiteWhite
iBlackBlack
iLightGrayLightGray
iDarkGrayDarkGray
iLightRedLightRed
iDarkRedDarkRed
iLightGreenLightGreen
iDarkGreenDarkGreen
iLightBlueLightBlue
iDarkBlueDarkBlue
iLightCyanLightCyan
iDarkCyanDarkCyan
iLightYellowLightYellow
iDarkYellowDarkYellow
iYellowToolhelpYellowToolhelp
iLightMagentaLightMagenta
iDarkMagentaDarkMagenta
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/03/2023

Send a report | Local help