SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 46981: View a list of all the predefined color names that are available with SAS/GRAPH® software

DetailsAboutRate It

The following link displays a PDF file that contains a list of the predefined color names that are available with SAS/GRAPH software:

SAS/GRAPH color list

Note that in the PDF document above, the value in the first column is the predefined SAS/GRAPH color name. You can specify this name anywhere in your SAS/GRAPH code that you would normally specify a color. The second column is the RGB (red green blue) color name, and the third column is the HLS (hue lightness saturation) color name.

It is recommended that you use either the predefined color name or the RGB color name since HLS colors are not commonly used.

For example, to use the color Brilliant Orange in a SAS/GRAPH TITLE statement, specify the following statement:

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

The following could also be used:

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

You can also view a list of additional colors by submitting the following statements in SAS and checking the new information that is written to the SAS log:

proc registry list startat='\COLORNAMES\HTML';
run; 

For more information, consult the section in the SAS/GRAPH 9.4 Reference guide entitled "Using Colors in SAS/GRAPH Programs" under the heading of "Controlling the appearance of your output."   



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/GRAPHz/OS
OpenVMS VAX
Microsoft® Windows® for 64-Bit Itanium-based Systems
Microsoft Windows Server 2003 Datacenter 64-bit Edition
Microsoft Windows Server 2003 Enterprise 64-bit Edition
Microsoft Windows XP 64-bit Edition
Microsoft® Windows® for x64
OS/2
Microsoft Windows 8
Microsoft Windows 95/98
Microsoft Windows 2000 Advanced Server
Microsoft Windows 2000 Datacenter Server
Microsoft Windows 2000 Server
Microsoft Windows 2000 Professional
Microsoft Windows 2012
Microsoft Windows NT Workstation
Microsoft Windows Server 2003 Datacenter Edition
Microsoft Windows Server 2003 Enterprise Edition
Microsoft Windows Server 2003 Standard Edition
Microsoft Windows Server 2003 for x64
Microsoft Windows Server 2008
Microsoft Windows Server 2008 for x64
Microsoft Windows XP Professional
Windows 7 Enterprise 32 bit
Windows 7 Enterprise x64
Windows 7 Home Premium 32 bit
Windows 7 Home Premium x64
Windows 7 Professional 32 bit
Windows 7 Professional x64
Windows 7 Ultimate 32 bit
Windows 7 Ultimate x64
Windows Millennium Edition (Me)
Windows Vista
Windows Vista for x64
64-bit Enabled AIX
64-bit Enabled HP-UX
64-bit Enabled Solaris
ABI+ for Intel Architecture
AIX
HP-UX
HP-UX IPF
IRIX
Linux
Linux for x64
Linux on Itanium
OpenVMS Alpha
OpenVMS on HP Integrity
Solaris
Solaris for x64
Tru64 UNIX
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.