You can create your own new color values by adding
them to the registry in the COLORNAMES\HTML subkey, using SAS code.
The easiest way is to
first write the color values to a file in the layout that the REGISTRY
procedure expects. Then you import the file by using the REGISTRY
procedure. In this example, Spanish color names are added to the registry.
filename mycolors temp;
data _null_;
file "mycolors";
put "[colornames\html]";
put ' "rojo"=hex:ff,00,00';
put ' "verde"=hex:00,ff,00';
put ' "azul"=hex:00,00,ff';
put ' "blanco"=hex:ff,ff,ff';
put ' "negro"=hex:00,00,00';
put ' "anaranjado"=hex:ff,a5,00';
run;
proc registry import="mycolornames";
run;
After you add these
colors to the registry, you can use these color names anywhere that
you use the color names supplied by SAS. For example, you could use
the color name in the GOPTIONS statement as shown in the following
code:
goptions cback=anaranjado;
proc gtestit;
run;