Exploring the Style Elements That Control Color

The colors in an ODS style definition are organized much like the fonts. A style element creates a list of colors that are used elsewhere in the output. To see how colors work, run the following PROC TEMPLATE code and examine the style elements that control color selections. Figure 17.1 shows selected portions of the output.

PROC TEMPLATE;
   SOURCE Styles.Default;
RUN;

The first style element shown is the color_list element. It contains a list of color codes, each of which is assigned to a name. The codes are RGB values given in hexadecimal. See "Identifying Colors" on page 444 for more information about these codes. The color names are just a convenience. Foreground colors all start with "fg" and ...

Get Output Delivery System: The Basics and Beyond now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.