ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Your version: XXA240077F

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/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
Bronze3309517#CD7F3220512750306150
DarkBlue8388608#0000800012824010025
DarkBrown10584#582900884102810017
DarkCyan8421376#008080012812818010025
DarkGray8421504#8080801281281280050
DarkGreen32768#0080000128012010025
DarkMagenta8388736#800080128012830010025
DarkOrange36095#FF8C0025514003310050
DarkPink10382589#FD6C9E2531081583399771
DarkPurple13828244#9400D3148021128210041
DarkRed128#80000012800010025
DarkYellow32896#80800012812806010025
Gold55295#FFD70025521505110050
LightBlue16711680#0000FF0025524010050
LightBrown2763429#A52A2A165424205941
LightCyan16776960#00FFFF025525518010050
LightGray12632256#C0C0C01921921920075
LightGreen65280#00FF000255012010050
LightMagenta16711935#FF00FF255025530010050
LightOrange42495#FFA50025516503910050
LightPink13353215#FFC0CB25519220335010088
LightPurple15631086#EE82EE2381302383007672
LightRed255#FF000025500010050
LightYellow65535#FFFF0025525506010050
PastelBlue16751001#9999FF15315325524010080
PastelBrown6510979#83596313189993461943
PastelCyan16777113#99FFFF15325525518010080
PastelGreen10092441#99FF9915325515312010080
PastelMagenta16751103#FF99FF25515325530010080
PastelOrange4699135#FFB347255179713510064
PastelPink14471679#FFD1DC25520922034610091
PastelPurple13212107#CB99C92031532013023270
PastelRed10066431#FF9999255153153010080
PastelYellow10092543#FFFF992552551536010080
Silver12632256#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 version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 10/18/2018

Send a report | Local help