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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

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