gray(
DENSITY
)

The gray( function returns a shade of gray as a Panorama color value (see Colors).


Parameters

This function has one parameter:

density – density value between 0 (white) and 100 (black).


Description

Returns a gray color as a Panorama color value.

htmlrgbstr(gray(50)) ☞ 7F7F7F
htmlrgbstr(gray(0)) ☞ FFFFFF
htmlrgbstr(gray(100)) ☞ 000000

See Colors for more information about working with colors in Panorama formulas.

Note: This function is equivalent to:

rgb((100-thedensity)*655,(100-thedensity)*655,(100-thedensity)*655)

History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.