Full-color displays have become commonplace with the advent of the Web. Typically they are rendered from desktop computers equipped with 16-bit color palettes capable of generating 65K unique colors. Thus a chart or scale is needed for making informed color selections for graphics applications. In SAS, the programmer has access to both the RGB (red/green/blue) and HLS (hue/light/saturation) coding systems. However, different algorithms are required for building charts and scales in the two systems. Before the technical aspects of chart and scale construction are presented in the paper, color spaces are defined to show how the full gamut of codes is mapped in both coding systems. For RGB, codes map to a cube, and a double-ended cone accommodates the Tektronix HLS system. With the color spaces as a foundation, instructions are then provided for building color charts with ODS and scales from PROC GPLOT. Both the charts and scales were introduced in the SUGI 27 paper Using ODS and th
To submit an update or takedown request for this paper, please submit an Update/Correction/Removal Request.