TINT Function

Modifies the color by increasing its luminosity by the amount (positive or negative) specified in the int parameter.

Syntax

TINT(** 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 increase the luminosity of the color. Can be positive or negative.

Return value

RGB

Remarks

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