2.5.4.64 LumDiff
The LumDiff function calculates the difference in luminance, as specified in the HSL color space, between two color values.
ABNF:
-
LumDiff = val val " LUMDIFF():128"
Required Arguments:
Name: Arg1
Type: vColor
An argument that specifies the first color.
Name: Arg2
Type: vColor
An argument that specifies the second color.
Return Value:
Type: PtgNum
This function returns a PtgNum containing a value that is equal to the luminance of Arg1 minus the luminance of Arg2. This value is greater than or equal to -240 and less than or equal to 240.