로그인   |  회원가입  |  사이트맵  |  Contact Us
  아이디 저장하기
 
홈 > SAS Tech & Tip > SAS 고수
[색상표] SAS에서 지원하는 색과 색상명 2017.06.08
백승민 78 0
http://www.mysas.co.kr/SAS_tiptech/a_all.asp?b_no=7315&gotopage=1&con=subject&keyword=&cmd=content&bd_no=33&gubun=

 

* 출처 : http://support.sas.com/resources/papers/proceedings16/4003-2016.pdf;

* 출처 : https://www.sas.com/content/dam/SAS/en_ca/User%20Group%20Presentations/Edmonton-User-Group/dover-tipstricks.pdf; 


proc registry export= "D:\colornames.txt"

              usesashelp 

              startat='COLORNAMES';

 run;

 

 proc fslist file= "D:\colornames.txt" ;

 run;

 

Data colours;

     infile "D:\colornames.txt" dlm='=' dsd truncover;

     length colourname $35. hexcode $35.;

     input colourname $ hexcode $;

     if hexcode =:"hex" then do;

        *remove leading text*;

        hexcode = ksubstr(hexcode,6);

        *replace commas with spaces*;

        hexcode = transtrn(hexcode, ',', ' ');

        output;

     end;

run;

 

Proc Sort Data=colours;

     By Hexcode;

run; 

 

Proc Report Data=colours nowindows;

     Column colourname colourname=clr hexcode;

     Define colourname / "Colour Name";

     Define clr / "Colour";

     Define hexcode / "Hex";

     Compute clr /char length=35;

     call define(_col_,"style","style={background="||colourname||"}");

     endcomp;

run;

quit;

 

Colour NameColourHex
BlackBlack00 00 00
NavyNavy00 00 80
DarkBlueDarkBlue00 00 8B
MediumBlueMediumBlue00 00 CD
BlueBlue00 00 FF
DarkGreenDarkGreen00 64 00
GG00 80 00
GreenGreen00 80 00
TealTeal00 80 80
DarkCyanDarkCyan00 8B 8B
DeepSkyBlueDeepSkyBlue00 BF FF
DarkTurquoiseDarkTurquoise00 CE D1
MediumSpringGreenMediumSpringGreen00 FA 9A
LimeLime00 FF 00
SpringGreenSpringGreen00 FF 7F
AquaAqua00 FF FF
CyanCyan00 FF FF
MidnightBlueMidnightBlue19 19 70
DodgerBlueDodgerBlue1E 90 FF
LightSeaGreenLightSeaGreen20 B2 AA
ForestGreenForestGreen22 8B 22
SeaGreenSeaGreen2E 8B 57
DarkSlateGreyDarkSlateGrey2F 2F 2F
DarkSlateGrayDarkSlateGray2F 4F 4F
LimeGreenLimeGreen32 CD 32
MediumSeaGreenMediumSeaGreen3C B3 71
TurquoiseTurquoise40 E0 D0
RoyalBlueRoyalBlue41 69 E1
SteelBlueSteelBlue46 82 B4
DarkSlateBlueDarkSlateBlue48 3D 8B
MediumTurquoiseMediumTurquoise48 D1 CC
IndigoIndigo4B 00 82
DarkOliveGreenDarkOliveGreen55 6B 2F
CadetBlueCadetBlue5F 9E A0
CornFlowerBlueCornFlowerBlue64 95 ED
MediumAquamarineMediumAquamarine66 CD AA
DimGrayDimGray69 69 69
DimGreyDimGrey69 69 69
SlateBlueSlateBlue6A 5A CD
OliveDrabOliveDrab6B 8E 23
SlateGraySlateGray70 80 90
SlateGreySlateGrey70 80 90
LightSlateGrayLightSlateGray77 88 99
LightSlateGreyLightSlateGrey77 88 99
MediumSlateBlueMediumSlateBlue7B 68 EE
LawnGreenLawnGreen7C FC 00
AquamarineAquamarine7F FD D4
ChartreuseChartreuse7F FF 00
MaroonMaroon80 00 00
PP80 00 80
PurplePurple80 00 80
OliveOlive80 80 00
GrayGray80 80 80
GreyGrey80 80 80
SkyBlueSkyBlue87 CE EB
LightSkyBlueLightSkyBlue87 CE FA
BlueVioletBlueViolet8A 2B E2
DarkRedDarkRed8B 00 00
DarkMagentaDarkMagenta8B 00 8B
SaddleBrownSaddleBrown8B 45 13
DarkSeaGreenDarkSeaGreen8F BC 8F
LightGreenLightGreen90 EE 90
MediumPurpleMediumPurple93 70 DB
DarkVioletDarkViolet94 00 D3
PaleGreenPaleGreen98 FB 98
DarkOrchidDarkOrchid99 32 CC
YellowGreenYellowGreen9A CD 32
SiennaSiennaA0 52 2D
BRBRA5 2A 2A
BrownBrownA5 2A 2A
DarkGrayDarkGrayA9 A9 A9
DarkGreyDarkGreyA9 A9 A9
LightBlueLightBlueAD D8 E6
GreenYellowGreenYellowAD FF 2F
PaleTurquoisePaleTurquoiseAF EE EE
LightSteelBlueLightSteelBlueB0 C4 DE
PowderBluePowderBlueB0 E0 E6
FireBrickFireBrickB2 22 22
DarkGoldenrodDarkGoldenrodB8 86 0B
MediumOrchidMediumOrchidBA 55 D3
RosyBrownRosyBrownBC 8F 8F
DarkKhakiDarkKhakiBD B7 6B
SilverSilverC0 C0 C0
MediumVioletRedMediumVioletRedC7 15 85
IndianRedIndianRedCD 5C 5C
PeruPeruCD 85 3F
ChocolateChocolateD2 69 1E
TanTanD2 B4 8C
lightGraylightGrayD3 D3 D3
LightGreyLightGreyD3 D3 D3
ThistleThistleD8 BF D8
OrchidOrchidDA 70 D6
GoldenrodGoldenrodDA A5 20
PaleVioletRedPaleVioletRedDB 70 93
CrimsonCrimsonDC 14 3C
GainsboroGainsboroDC DC DC
PlumPlumDD A0 DD
BurlywoodBurlywoodDE B8 87
LightCyanLightCyanE0 FF FF
LavenderLavenderE6 E6 FA
DarkSalmonDarkSalmonE9 96 7A
VioletVioletEE 82 EE
PaleGoldenrodPaleGoldenrodEE E8 AA
LightCoralLightCoralF0 80 80
KhakiKhakiF0 E6 8C
AliceBlueAliceBlueF0 F8 FF
HoneydewHoneydewF0 FF F0
AzureAzureF0 FF FF
SandyBrownSandyBrownF4 A4 60
WheatWheatF5 DE B3
BeigeBeigeF5 F5 DC
WhiteSmokeWhiteSmokeF5 F5 F5
MintCreamMintCreamF5 FF FA
GhostWhiteGhostWhiteF8 F8 FF
SalmonSalmonFA 80 72
AntiqueWhiteAntiqueWhiteFA EB D7
LinenLinenFA F0 E6
LightGoldenrodYellowLightGoldenrodYellowFA FA D2
OldlaceOldlaceFD F5 E6
RedRedFF 00 00
FuchsiaFuchsiaFF 00 FF
MagentaMagentaFF 00 FF
DeepPinkDeepPinkFF 14 93
OrangeRedOrangeRedFF 45 00
TomatoTomatoFF 63 47
HotPinkHotPinkFF 69 B4
CoralCoralFF 7F 50
DarkOrangeDarkOrangeFF 8C 00
LightSalmonLightSalmonFF A0 7A
OOFF A5 00
OrangeOrangeFF A5 00
LightPinkLightPinkFF B6 C1
PinkPinkFF C0 CB
GoldGoldFF D7 00
PeachpuffPeachpuffFF DA B9
NavajoWhiteNavajoWhiteFF DE AD
MoccasinMoccasinFF E4 B5
BisqueBisqueFF E4 C4
MistyRoseMistyRoseFF E4 E1
BlanchedAlmondBlanchedAlmondFF EB CD
PapayaWhipPapayaWhipFF EF D5
LavenderBlushLavenderBlushFF F0 F5
SeashellSeashellFF F5 EE
CornsilkCornsilkFF F8 DC
LemonChiffonLemonChiffonFF FA CD
FloralWhiteFloralWhiteFF FA F0
SnowSnowFF FA FA
YellowYellowFF FF 00
LightYellowLightYellowFF FF E0
IvoryIvoryFF FF F0
WhiteWhiteFF FF FF

 

 

 

 

 
 
 
 
 [색상표] SAS에서 지원하는 색과 색상명2
 [Logistic] Surveyselect 프로시져를 활용한 Bagging Logistic 모형 구축