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
Version | Status | Notes |
10.0 | No Change | Carried over from Panorama 6.0. |