Using SAS/GRAPH Colors in HTML Output

Predefined SAS/GRAPH Color Names

To specify colors in intuitive terms, use the predefined SAS color names, which form a color by combining the abbreviations for prefixes and prefix hues with the abbreviations for the names of several common hues.

Abbreviations for Hues and Prefixes Used in Predefined SAS/GRAPH Color Names
Hue Abbreviation Prefix Abbreviation
red R pale PA
pink PK brilliant BI
olive OL light LI
brown BR moderate MO
orange O medium ME
yellow Y strong ST
yellow-green LG dark DA
yellowish green YG deep DE
green G vivid VI
blue B very pale VPA
purple P very light VLI
violet V very dark VDA
gray GR very deep VDE
black BL

white WH


Predefined SAS color names follow the formulas prefix+hue, prefix+hue+hue, or prefix+hue+hue+hue. For example, the common hue red can be denoted by R. The common prefixes grayish and dark can be denoted by GR and DA. To construct the color dark grayish red, combine the prefix DA, the prefix hue GR, and the hue R to form the predefined SAS color DAGRR.

Not all combinations of prefixes and hues are available as predefined SAS color names. You can specify colors that do not have a predefined SAS color name by using the RGB color-naming schemes.

The following table provides a comprehensive list of the predefined SAS color names that you can use. The table lists the predefined SAS color name followed by the description and the equivalent RGB values. For further information, see Color-naming Schemes in the SAS/GRAPH section of SAS OnlineDoc.

Predefined SAS Colors That Can Be Used in SAS/GRAPH Software
Color Name Color Description RGB

Basic Hues
BLACK | BL black cx000000
BLUE | B blue cx0000FF
BROWN | BR brown cxA05000
CHARCOAL charcoal cx4F4F4F
CREAM cream cxE8D898
CYAN cyan cx00FFFF
GOLD gold cxFFAA00
GRAY | GREY | GR | A gray cx808080
GREEN | G green cx00FF00
LILAC lilac cxE06090
LIME lime cxC0FF81
MAGENTA magenta cxFF00FF
MAROON maroon cx700000
OLIVE olive cx2A8307
ORANGE | O orange cxFF8000
PINK pink cxFF0080
PURPLE | P purple cx703070
RED | R red cxFF0000
ROSE rose cxFF6060
SALMON salmon cxFF0055
STEEL steel cx3883A8
TAN tan cxE0A860
VIOLET violet cxB090D0
WHITE | WH | W white cxFFFFFF
YELLOW | Y yellow cxFFFF00

Blacks
RBK reddish black cx191919
BRBL brownish black cx010101
GBL greenish black cx191919
OLBL olive black cx191919
PBL purplish black cx191919
BBL bluish black cx191919

Blues
VIGB vivid greenish blue cx13478C
BIGB brilliant greenish blue cx4D7EBF
STGB strong greenish blue cx2E4C73
DEGB deep greenish blue cx142233
LIGB light greenish blue cx6E86A6
VLIGB very light greenish blue cx90B0D9
MOGB moderate greenish blue cx4C5D73
DAGB dark greenish blue cx2A3440
VDAGB very dark greenish blue cx121519
VIB vivid blue cx090766
BIB brilliant blue cx3230B2
STB strong blue cx201F73
DEB deep blue cx100F26
PAB pale blue cx8585A6
VPAB very pale blue cxAEADD9
GRB grayish blue cx5C5C73
DAGRB dark grayish blue cx373740
VIPB vivid purplish blue cx2B0766
BIPB brilliant purplish blue cx6130B2
STPB strong purplish blue cx3F1F73
DEPB deep purplish blue cx180F26
VLIPB very light purplish blue cxA37AE5
LIPB light purplish blue cx6D5299
MOPB moderate purplish blue cx3F3059
DAPB dark purplish blue cx151219
LIB light blue cx5A58A6
VLIB very light blue cx7674D9
MOB moderate blue cx3E3D73
DAB dark blue cx1B1B26
PAPB pale purplish blue cx8A7AA6
VPAPB very pale purplish blue cxC018E5
GRPB grayish purplish blue cx4A4159
BLB blackish blue cx171719

Browns
LIBR light brown cx8C7962
MOBR moderate brown cx594E41
DABR dark brown cx191714
LIGRBR light grayish brown cx8C887A
GRBR grayish brown cx59564D
DAGRBR dark grayish brown cx33322E
STYBR strong yellowish brown cx806A2B
DEYBR deep yellowish brown cx332E14
LIYBR light yellowish brown cxA69F7A
MOYBR moderate yellowish brown cx736E58
DAYBR dark yellowish brown cx26251F
LIGRYBR light grayish yellowish brown cxA6A18A
GRYBR grayish yellowish brown cx737060
DAGRYBR dark grayish yellowish brown cx403E37
LIOLBR light olive brown cx8B8C4B
MOOLBR moderate olive brown cx595936
DAOLBR dark olive brown cx26261C
STBR strong brown cx593B18
STRBR strong reddish brown cx4C2714
DERBR deep reddish brown cx26150D
LIRBR light reddish brown cx8C7367
MORBR moderate reddish brown cx59453B
DARBR dark reddish brown cx191614
LIGRRBR light grayish reddish brown cx8C7D75
GRRBR grayish reddish brown cx594F4A
DAGRRBR dark grayish reddish brown cx332E2C
DEBR deep brown cx261C0F

Grays
LIBRGR light brownish gray cx8C8883
BRGR brownish gray cx595753
PKGR pinkish gray cxBFB2B5
RGR reddish gray cx8C8385
DARGR dark reddish gray cx595354
YGR yellowish gray cxBBBFAC
LIGGR light greenish gray cxBFBFBF
GGR greenish gray cx8C8C8C
DAGGR dark greenish gray cx595959
LIOLGR light olive gray cx878C7E
LIPGR light purplish gray cxBDB2BF
PGR purplish gray cx8B838C
DAPGR dark purplish gray cx585359
LIGR light gray cxBFBFBF
MEGR medium gray cx8C8C8C
DAGR dark gray cx595959
LTGRAY light gray cxC0C0C0
DAGRAY dark gray cx404040
LIBGR light bluish gray cxB3B2BF
BGR bluish gray cx83838C
OLGR olive gray cx575953
DABGR dark bluish gray cx535359

Greens
VIBG vivid bluish green cx138C89
BIBG brilliant bluish green cx4DBFBC
STBG strong bluish green cx2E7371
DEBG deep bluish green cx143332
LIBG light bluish green cx6EA6A4
VLIBG very light bluish green cx90D9D7
MOBG moderate bluish green cx4C7372
DABG dark bluish green cx2D403F
VDABG very dark bluish green cx121919
VILG vivid yellow-green cx44A616
BILG brilliant yellow-green cx88E55C
STLG strong yellow-green cx5B993D
DELG deep yellow-green cx3C6629
LILG light yellow-green cxB1E599
MOLG moderate yellow-green cx769966
PALG pale yellow-green cxD1E5C7
GRLG grayish yellow-green cx8B9985
STOLG strong olive green cx264C14
DEOLG deep olive green cx15260D
MOOLG moderate olive green cx45593B
DAOLG dark olive green cx1F261C
GROLG grayish olive green cx8B9985
DAGROLG dark grayish olive green cx2E332C
VIYG vivid yellowish green cx16A629
BIYG brilliant yellowish green cx52CC62
STYG strong yellowish green cx388C4C
DEYG deep yellowish green cx185920
VDEYG very deep yellowish green cx0A260E
VLIYG very light yellowish green cx9EEDA8
LIYG light yellowish green cx80BF88
MOYG moderate yellowish green cx5D8C64
DAYG dark yellowish green cx3B593F
VDAYG very dark yellowish green cx172118
VIG vivid green cx118044
BIG brilliant green cx4DBF81
STG strong green cx2E734E
DEG deep green cx143322
LIG light green cx6EA688
VLIG very light green cx99E5BC
MOG moderate green cx4C735E
DAG dark green cx364C40
VDAG very dark green cx121915
PAG pale green cx90A69A
VPAG very pale green cxBCD9C5
GRG grayish green cx63736A
DAGRG dark grayish green cx454C48
BLG blackish green cx171918

Olives
LIOL light olive cx628033
MOOL moderate olive cx47592A
DAOL dark olive cx161911
LIGROL light grayish olive cx838C75
GROL grayish olive cx54594A
DAGROL dark grayish olive cx30332C

Oranges
VIRO vivid reddish orange cx803009
STRO strong reddish orange cx8C411C
DERO deep reddish orange cx662F14
MORO moderate reddish orange cx8C5438
DARO dark reddish orange cx663D29
GRRO grayish reddish orange cx8C6754
VIO vivid orange cxB26306
BIO brilliant orange cxD9892B
STO strong orange cxA66921
DEO deep orange cx80511A
LIO light orange cxD9A465
MOO moderate orange cxA67D4D
BRO brownish orange cx80603C

Pinks
VIPK vivid pink cxCC1B2B
STPK strong pink cxD9576E
DEPK deep pink cx99293D
LIPK light pink cxE599A7
MOPK moderate pink cxBA7C87
DAPK dark pink cx995C67
GRPK grayish pink cxBA9BA1
PAPK pale pink cxE5BFC6
VIYPK vivid yellowish pink cxCC2B1B
STYPK strong yellowish pinf cxCC5D52
DEYPK deep yellowish pink cx993329
LIYPK light yellowish pink cxE5A099
MOYPK moderate yellowish pink cxBF8580
DAYPK dark yellowish pink cx99615C
PAYPK pale yellowish pink cxE5C5C2
GRYPK grayish yellowish pink cxBFA5A2
BRPK brownish pink cxBFB9A6
STPPK strong purplish pink cxB2309E
DEPPK deep purplish pink cx991F85
LIPPK light purplish pink cxD974C9
MOPPK moderate purplish pink cxB25FA5
DAPPK dark purplish pink cx995278
PAPPK pale purplish pink cxE5B8D0
GRPPK grayish purplish pink cxB28FA2
BIPPK brilliant purplish pink cxD93ABF

Purples
VIP vivid purple cx6F0980
BIP brilliant purple cxA030B2
STP strong purple cx671F73
DEP deep purple cx3E1745
VDEP very deep purple cx170819
LIP light purple cx9B58A6
VLIP very light purple cxCB74D9
MOP moderate purple cx6B3D73
DAP dark purple cx423045
VDAP very dark purple cx181219
PAP pale purple cxA185A6
VPAP very pale purple cxD3ADD9
GRP grayish purple cx705C73
DAGRP dark grayish purple cx443C45
BLP blackish purple cx191719
VIRP vivid reddish purple cx59064C
STRP strong reddish purple cx731F65
DERP deep reddish purple cx45173E
VDERP very deep reddish purple cx190817
LIRP light reddish purple cx99528E
MORP moderate reddish purple cx733D6A
DARP dark reddish purple cx453042
VDARP very dark reddish purple cx191218
GRRP grayish reddish purple cx73546E
PARP pale reddish purple cx997092

Reds
VIR vivid red cx33070F
STR strong red cx731727
DER deep red cx4C1923
VDER very deep red cx190A0D
MOR moderate red cx732E3A
DAR dark red cx40262B
VDAR very dark red cx191213
LIGRR light grayish red cx997078
GRR grayish red cx73545A
LIGRPR light grayish purplish red cx997086
DAGRR dark grayish red cx453C3D
BLR blackish red cx191717
VIPR vivid purplish red cx4C052C
STPR strong purplish red cx731749
DEPR deep purplish red cx45122E
VDEPR very deep purplish red cx190A12
MOPR moderate purplish red cx732E53
DAPR dark purplish red cx452938
GRPR grayish purplish red cx734C61
VDAPR very dark purplish red cx191216

Violets
VIV vivid violet cx53098C
BIV brilliant violet cx7930B2
STV strong violet cx3C1859
DEV deep violet cx1B0D26
LIV light violet cx7A5299
VLIV very light violet cxAC74D9
MOV moderate violet cx473059
DAV dark violet cx161219
PAV pale violet cx877099
VPAV very pale violet cxCBA8E5
GRV grayish violet cx4F4159

Whites
YWH yellowish white cxE8EDD5
GWH greenish white cxECEDEC
PKWH pinkish white cxEDDDE0
PWH purplish white cxEBDDED
BWH bluish white cxDEDDED

Yellows
VIOY vivid orange-yellow cxBF9106
BIOY brilliant orange-yellow cxE5B82E
STOY strong orange-yellow cxBF9926
DEOY deep orange-yellow cx997A1F
LIOY light orange-yellow cxE5C76B
MOOY moderate orange-yellow cxBAA157
DAOY dark orange-yellow cx998547
PAOY pale orange-yellow cxE5D4A1
DAY dark yellow cx99BF1A
PAY pale yellow cxC6E55C
GRY grayish yellow cxA3BF46
DAGRY dark grayish yellow cx839938
VIGY vivid greenish yellow cxCDE57A
BIGY brilliant greenish yellow cxABBF66
STGY strong greenish yellow cx899952
DEGY deep greenish yellow cxD9E5B0
VIY vivid yellow cxB5BF93
BIY brilliant yellow cx8E996B
STY strong yellow cx80BF1A
DEY deep yellow cxAEE554
LIY light yellow cx8DBA44
MOY moderate yellow cx749938
LIGY light greenish yellow cxBDE57A
MOGY moderate greenish yellow cx9DBF66
DAGY dark greenish yellow cx7E9952
GRGY grayish greenish yellow cxA9BF86
PAGY pale greenish yellow cxCBE5A1




Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.

Terms of Use & Legal Information | Privacy Statement