The Tone function decreases the saturation, as specified in the HSL color space, of a color value.


 Tone = val val " TONE():128"

Required Arguments:

Name: Color

Type: vColor

An argument that specifies the color.

Name: Delta

Type: vSignedInt

An argument that specifies the amount to modify the saturation of Color.

Return Value:

Type: PtgColorRGB

This function returns a PtgColorRGB containing a color value with decreased saturation. If Delta is less than zero, the saturation is increased.