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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 1532 views
  • 1 like
  • 2 in conversation