2.5.4.47 HueDiff

The HueDiff function calculates the difference in hue, as specified in the HSL color space, between two color values.

ABNF:

 HueDiff = val val " HUEDIFF():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 hue of Arg1 minus the hue of Arg2. This value is greater than or equal to -240 and less than or equal to 240.