2.5.4.63 Lum

The Lum function calculates the luminance component, as specified in the HSL color space, of a color value.

ABNF:

 Lum = val " LUM():128"

Required Arguments:

Name: Arg1

Type: vColor

An argument that specifies the color.

Return Value:

Type: PtgUnsWord

This function returns a PtgUnsWord containing the luminance of Arg1. The value is less than or equal to 240.