BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
SAS_inquisitive
Lapis Lazuli | Level 10

How to interpret this color code (CXD9892C) in the TITLE statement?

 

 

title1 color=CXD9892C height=2 'This is my title';

proc print  data=sashelp.class;
run;

 

1 ACCEPTED SOLUTION

Accepted Solutions
DanH_sas
SAS Super FREQ

It is an RGB color, with RED=D9, GREEN=89, and BLUE=2C. The values are in HEX, so just convert them to decimal to find out their decimal value.

 

Hope this helps!

Dan

View solution in original post

3 REPLIES 3
DanH_sas
SAS Super FREQ

It is an RGB color, with RED=D9, GREEN=89, and BLUE=2C. The values are in HEX, so just convert them to decimal to find out their decimal value.

 

Hope this helps!

Dan

SAS_inquisitive
Lapis Lazuli | Level 10

@DanH_sas.  Thank you. #e0e0e0  is also RGB color scheme?

proc template;
	define table mytable;
		cellstyle mod(_row_, 2) as {background=#e0e0e0},
			1 as {background=#c3c3c3};
		column name age sex height weight;
		define column weight;
			cellstyle _val_ >= 110 as {foreground=red},
				_val_ >= 90 as {foreground=yellow},
				1 as {foreground=green};
		end;
	end;
run;
DanH_sas
SAS Super FREQ

Yes.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1699 views
  • 1 like
  • 2 in conversation