SHADE Function

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

Syntax

SHADE(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 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.

Ff766255.image199_ZA10173627(en-us,office.14).gif