2.5.4.89 SatDiff

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

ABNF:

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