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.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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