Hello,
My question involves colors definition in a proc template for producting a clustered bars chart. Bars represent products while clusters represent years: each product has its own color and the graph shows the sales of some products across several years.
In the past, I used HEX colors coding for several SAS graphs using proc sgplot with excellent results. Some examples of HEX color coding used in the past are: "#C95117" (red) or "#FAD500" (yellow).
When I tried to use the hex color coding scheme in proc template I received an error message, while using the SAS color scheme the procedure runs fine.
The client has a company color coding and wants the graphs to be aligned with that, so here is my question: which color coding should be used with proc template: SAS , HEX, RGB or others? Also, in the proc template I defined colors in the following way:
proc template ...; ...... begingraph/ datacolors=(green yellow red) datacontrastcolors=(green yellow red); .... run;
Is there another way to define colors used by a bar chart in proc template?
Greeting,
... View more