TONE Function

Modifies the color by decreasing its saturation by the amount specified in the int parameter.

Syntax

TONE(color, int)

Parameters

Name Required/Optional Data Type Description
color
Required
Numeric
The Microsoft Visio color index or RGB value of the color.
int
Required
Integer
The amount by which to decrease the saturation of the color. Can be positive or negative.

Return value

RGB

Remarks

The upper and lower limits of saturation are 0 and 240 respectively. There is no limit on the size of the integer you can pass for the int parameter, but saturation never exceeds these limits.