ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Drawing functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Calculates the lightness of a color.
Example
SelectColor(MaCouleur)
Info("Teinte : " + ColorHue(MaCouleur) + "°", ...
	"Luminosité : " + ColorLightness(MaCouleur) + "%", ...
	"Saturation : " + ColorSaturation(MaCouleur) + "%")
Syntax
<Result> = ColorLightness(<Color>)
<Result>: Integer
Value of lightness for the specified color (percentage included between 0 and 100).
<Color>: Integer
Color to use. This color can correspond to:
Component: wd300std.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help