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(MyColor)
Info("Hue: " + ColorHue(MyColor) + "°", ...
	"Brightness: " + ColorLightness(MyColor) + "%"., ...
	"Saturation: " + ColorSaturation(MyColor) + "%")
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: 01/16/2025

Send a report | Local help