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

 

* 출처 : http://cda.pinggu.org/view/21872.html;

 

 

filename clrname "d:\clrname.txt";

 

proc registry list 

              usesashelp 

              export = clrname

              startat='COLORNAMES';

 run;

 

 data _colorname;

     infile "D:\clrname.txt" firstobs=8 dlm='=';

     length colorname $40. rgb $20.;

     input colorname $ rgb $;

     name = compress(colorname,'"');

     white = name;

     black=name;

     red=name;

     yellow=name;

     blue = name;

 

     rgb = "CX"||compress(substr(rgb,6),',');

     label = rgb;

run;

 

 

Proc Sort Data=_colorname;

     By rgb;

run; 

 

data _colorname;

 set _colorname;

     seq = _n_;

run;

 

data _nameformat;

 set _colorname;

     start=name;

     fmtname="clrname";

     type='C';

run;

 

proc format cntlin=_nameformat;

run;

 

options orientation = portrait;

 

ods rtf file="d:\clor.rtf" style=rtf;

 

Proc Report Data=_colorname nowindows;

     Column seq rgb white black red yellow blue;

     Define seq/"#" style={cellwidth=50 just=center foreground=black background=whithe};

 

     Define RGB/"#" style={cellwidth=125 just=center foreground=WHITE background=GREEN};

 

     Define WHITE/"WHITE" style={cellwidth=200 just=center foreground=WHITE background=$CLRNAME.};

 

     Define BLACK/"BLACK" style={cellwidth=200 just=center foreground=BLACK background=$CLRNAME.};

 

     Define RED/"RED" style={cellwidth=200 just=center foreground=RED background=$CLRNAME.};

     Define YELLOW/"YELLOW" style={cellwidth=200 just=center foreground=YELLOW background=$CLRNAME.};

     Define BLUE/"BLUE" style={cellwidth=200 just=center foreground=BLUE background=$CLRNAME.};

run;

quit;

 

ods rtf close;

 

 

##WHITEBLACKREDYELLOWBLUE
1CX000000BlackBlackBlackBlackBlack
2CX000080NavyNavyNavyNavyNavy
3CX00008BDarkBlueDarkBlueDarkBlueDarkBlueDarkBlue
4CX0000CDMediumBlueMediumBlueMediumBlueMediumBlueMediumBlue
5CX0000FFBlueBlueBlueBlueBlue
6CX006400DarkGreenDarkGreenDarkGreenDarkGreenDarkGreen
7CX008000GGGGG
8CX008000GreenGreenGreenGreenGreen
9CX008080TealTealTealTealTeal
10CX008B8BDarkCyanDarkCyanDarkCyanDarkCyanDarkCyan
11CX00BFFFDeepSkyBlueDeepSkyBlueDeepSkyBlueDeepSkyBlueDeepSkyBlue
12CX00CED1DarkTurquoiseDarkTurquoiseDarkTurquoiseDarkTurquoiseDarkTurquoise
13CX00FA9AMediumSpringGreenMediumSpringGreenMediumSpringGreenMediumSpringGreenMediumSpringGreen
14CX00FF00LimeLimeLimeLimeLime
15CX00FF7FSpringGreenSpringGreenSpringGreenSpringGreenSpringGreen
16CX00FFFFAquaAquaAquaAquaAqua
17CX00FFFFCyanCyanCyanCyanCyan
18CX191970MidnightBlueMidnightBlueMidnightBlueMidnightBlueMidnightBlue
19CX1E90FFDodgerBlueDodgerBlueDodgerBlueDodgerBlueDodgerBlue
20CX20B2AALightSeaGreenLightSeaGreenLightSeaGreenLightSeaGreenLightSeaGreen
21CX228B22ForestGreenForestGreenForestGreenForestGreenForestGreen
22CX2E8B57SeaGreenSeaGreenSeaGreenSeaGreenSeaGreen
23CX2F2F2FDarkSlateGreyDarkSlateGreyDarkSlateGreyDarkSlateGreyDarkSlateGrey
24CX2F4F4FDarkSlateGrayDarkSlateGrayDarkSlateGrayDarkSlateGrayDarkSlateGray
25CX32CD32LimeGreenLimeGreenLimeGreenLimeGreenLimeGreen
26CX3CB371MediumSeaGreenMediumSeaGreenMediumSeaGreenMediumSeaGreenMediumSeaGreen
27CX40E0D0TurquoiseTurquoiseTurquoiseTurquoiseTurquoise
28CX4169E1RoyalBlueRoyalBlueRoyalBlueRoyalBlueRoyalBlue
29CX4682B4SteelBlueSteelBlueSteelBlueSteelBlueSteelBlue
30CX483D8BDarkSlateBlueDarkSlateBlueDarkSlateBlueDarkSlateBlueDarkSlateBlue
31CX48D1CCMediumTurquoiseMediumTurquoiseMediumTurquoiseMediumTurquoiseMediumTurquoise
32CX4B0082IndigoIndigoIndigoIndigoIndigo
33CX556B2FDarkOliveGreenDarkOliveGreenDarkOliveGreenDarkOliveGreenDarkOliveGreen
34CX5F9EA0CadetBlueCadetBlueCadetBlueCadetBlueCadetBlue
35CX6495EDCornFlowerBlueCornFlowerBlueCornFlowerBlueCornFlowerBlueCornFlowerBlue
36CX66CDAAMediumAquamarineMediumAquamarineMediumAquamarineMediumAquamarineMediumAquamarine
37CX696969DimGrayDimGrayDimGrayDimGrayDimGray
38CX696969DimGreyDimGreyDimGreyDimGreyDimGrey
39CX6A5ACDSlateBlueSlateBlueSlateBlueSlateBlueSlateBlue
40CX6B8E23OliveDrabOliveDrabOliveDrabOliveDrabOliveDrab
41CX708090SlateGraySlateGraySlateGraySlateGraySlateGray
42CX708090SlateGreySlateGreySlateGreySlateGreySlateGrey
43CX778899LightSlateGrayLightSlateGrayLightSlateGrayLightSlateGrayLightSlateGray
44CX778899LightSlateGreyLightSlateGreyLightSlateGreyLightSlateGreyLightSlateGrey
45CX7B68EEMediumSlateBlueMediumSlateBlueMediumSlateBlueMediumSlateBlueMediumSlateBlue
46CX7CFC00LawnGreenLawnGreenLawnGreenLawnGreenLawnGreen
47CX7FFDD4AquamarineAquamarineAquamarineAquamarineAquamarine
48CX7FFF00ChartreuseChartreuseChartreuseChartreuseChartreuse
49CX800000MaroonMaroonMaroonMaroonMaroon
50CX800080PPPPP
51CX800080PurplePurplePurplePurplePurple
52CX808000OliveOliveOliveOliveOlive
53CX808080GrayGrayGrayGrayGray
54CX808080GreyGreyGreyGreyGrey
55CX87CEEBSkyBlueSkyBlueSkyBlueSkyBlueSkyBlue
56CX87CEFALightSkyBlueLightSkyBlueLightSkyBlueLightSkyBlueLightSkyBlue
57CX8A2BE2BlueVioletBlueVioletBlueVioletBlueVioletBlueViolet
58CX8B0000DarkRedDarkRedDarkRedDarkRedDarkRed
59CX8B008BDarkMagentaDarkMagentaDarkMagentaDarkMagentaDarkMagenta
60CX8B4513SaddleBrownSaddleBrownSaddleBrownSaddleBrownSaddleBrown
61CX8FBC8FDarkSeaGreenDarkSeaGreenDarkSeaGreenDarkSeaGreenDarkSeaGreen
62CX90EE90LightGreenLightGreenLightGreenLightGreenLightGreen
63CX9370DBMediumPurpleMediumPurpleMediumPurpleMediumPurpleMediumPurple
64CX9400D3DarkVioletDarkVioletDarkVioletDarkVioletDarkViolet
65CX98FB98PaleGreenPaleGreenPaleGreenPaleGreenPaleGreen
66CX9932CCDarkOrchidDarkOrchidDarkOrchidDarkOrchidDarkOrchid
67CX9ACD32YellowGreenYellowGreenYellowGreenYellowGreenYellowGreen
68CXA0522DSiennaSiennaSiennaSiennaSienna
69CXA52A2ABRBRBRBRBR
70CXA52A2ABrownBrownBrownBrownBrown
71CXA9A9A9DarkGrayDarkGrayDarkGrayDarkGrayDarkGray
72CXA9A9A9DarkGreyDarkGreyDarkGreyDarkGreyDarkGrey
73CXADD8E6LightBlueLightBlueLightBlueLightBlueLightBlue
74CXADFF2FGreenYellowGreenYellowGreenYellowGreenYellowGreenYellow
75CXAFEEEEPaleTurquoisePaleTurquoisePaleTurquoisePaleTurquoisePaleTurquoise
76CXB0C4DELightSteelBlueLightSteelBlueLightSteelBlueLightSteelBlueLightSteelBlue
77CXB0E0E6PowderBluePowderBluePowderBluePowderBluePowderBlue
78CXB22222FireBrickFireBrickFireBrickFireBrickFireBrick
79CXB8860BDarkGoldenrodDarkGoldenrodDarkGoldenrodDarkGoldenrodDarkGoldenrod
80CXBA55D3MediumOrchidMediumOrchidMediumOrchidMediumOrchidMediumOrchid
81CXBC8F8FRosyBrownRosyBrownRosyBrownRosyBrownRosyBrown
82CXBDB76BDarkKhakiDarkKhakiDarkKhakiDarkKhakiDarkKhaki
83CXC0C0C0SilverSilverSilverSilverSilver
84CXC71585MediumVioletRedMediumVioletRedMediumVioletRedMediumVioletRedMediumVioletRed
85CXCD5C5CIndianRedIndianRedIndianRedIndianRedIndianRed
86CXCD853FPeruPeruPeruPeruPeru
87CXD2691EChocolateChocolateChocolateChocolateChocolate
88CXD2B48CTanTanTanTanTan
89CXD3D3D3lightGraylightGraylightGraylightGraylightGray
90CXD3D3D3LightGreyLightGreyLightGreyLightGreyLightGrey
91CXD8BFD8ThistleThistleThistleThistleThistle
92CXDA70D6OrchidOrchidOrchidOrchidOrchid
93CXDAA520GoldenrodGoldenrodGoldenrodGoldenrodGoldenrod
94CXDB7093PaleVioletRedPaleVioletRedPaleVioletRedPaleVioletRedPaleVioletRed
95CXDC143CCrimsonCrimsonCrimsonCrimsonCrimson
96CXDCDCDCGainsboroGainsboroGainsboroGainsboroGainsboro
97CXDDA0DDPlumPlumPlumPlumPlum
98CXDEB887BurlywoodBurlywoodBurlywoodBurlywoodBurlywood
99CXE0FFFFLightCyanLightCyanLightCyanLightCyanLightCyan
100CXE6E6FALavenderLavenderLavenderLavenderLavender
101CXE9967ADarkSalmonDarkSalmonDarkSalmonDarkSalmonDarkSalmon
102CXEE82EEVioletVioletVioletVioletViolet
103CXEEE8AAPaleGoldenrodPaleGoldenrodPaleGoldenrodPaleGoldenrodPaleGoldenrod
104CXF08080LightCoralLightCoralLightCoralLightCoralLightCoral
105CXF0E68CKhakiKhakiKhakiKhakiKhaki
106CXF0F8FFAliceBlueAliceBlueAliceBlueAliceBlueAliceBlue
107CXF0FFF0HoneydewHoneydewHoneydewHoneydewHoneydew
108CXF0FFFFAzureAzureAzureAzureAzure
109CXF4A460SandyBrownSandyBrownSandyBrownSandyBrownSandyBrown
110CXF5DEB3WheatWheatWheatWheatWheat
111CXF5F5DCBeigeBeigeBeigeBeigeBeige
112CXF5F5F5WhiteSmokeWhiteSmokeWhiteSmokeWhiteSmokeWhiteSmoke
113CXF5FFFAMintCreamMintCreamMintCreamMintCreamMintCream
114CXF8F8FFGhostWhiteGhostWhiteGhostWhiteGhostWhiteGhostWhite
115CXFA8072SalmonSalmonSalmonSalmonSalmon
116CXFAEBD7AntiqueWhiteAntiqueWhiteAntiqueWhiteAntiqueWhiteAntiqueWhite
117CXFAF0E6LinenLinenLinenLinenLinen
118CXFAFAD2LightGoldenrodYellowLightGoldenrodYellowLightGoldenrodYellowLightGoldenrodYellowLightGoldenrodYellow
119CXFDF5E6OldlaceOldlaceOldlaceOldlaceOldlace
120CXFF0000RedRedRedRedRed
121CXFF00FFFuchsiaFuchsiaFuchsiaFuchsiaFuchsia
122CXFF00FFMagentaMagentaMagentaMagentaMagenta
123CXFF1493DeepPinkDeepPinkDeepPinkDeepPinkDeepPink
124CXFF4500OrangeRedOrangeRedOrangeRedOrangeRedOrangeRed
125CXFF6347TomatoTomatoTomatoTomatoTomato
126CXFF69B4HotPinkHotPinkHotPinkHotPinkHotPink
127CXFF7F50CoralCoralCoralCoralCoral
128CXFF8C00DarkOrangeDarkOrangeDarkOrangeDarkOrangeDarkOrange
129CXFFA07ALightSalmonLightSalmonLightSalmonLightSalmonLightSalmon
130CXFFA500OOOOO
131CXFFA500OrangeOrangeOrangeOrangeOrange
132CXFFB6C1LightPinkLightPinkLightPinkLightPinkLightPink
133CXFFC0CBPinkPinkPinkPinkPink
134CXFFD700GoldGoldGoldGoldGold
135CXFFDAB9PeachpuffPeachpuffPeachpuffPeachpuffPeachpuff
136CXFFDEADNavajoWhiteNavajoWhiteNavajoWhiteNavajoWhiteNavajoWhite
137CXFFE4B5MoccasinMoccasinMoccasinMoccasinMoccasin
138CXFFE4C4BisqueBisqueBisqueBisqueBisque
139CXFFE4E1MistyRoseMistyRoseMistyRoseMistyRoseMistyRose
140CXFFEBCDBlanchedAlmondBlanchedAlmondBlanchedAlmondBlanchedAlmondBlanchedAlmond
141CXFFEFD5PapayaWhipPapayaWhipPapayaWhipPapayaWhipPapayaWhip
142CXFFF0F5LavenderBlushLavenderBlushLavenderBlushLavenderBlushLavenderBlush
143CXFFF5EESeashellSeashellSeashellSeashellSeashell
144CXFFF8DCCornsilkCornsilkCornsilkCornsilkCornsilk
145CXFFFACDLemonChiffonLemonChiffonLemonChiffonLemonChiffonLemonChiffon
146CXFFFAF0FloralWhiteFloralWhiteFloralWhiteFloralWhiteFloralWhite
147CXFFFAFASnowSnowSnowSnowSnow
148CXFFFF00YellowYellowYellowYellowYellow
149CXFFFFE0LightYellowLightYellowLightYellowLightYellowLightYellow
150CXFFFFF0IvoryIvoryIvoryIvoryIvory
151CXFFFFFFWhiteWhiteWhiteWhiteWhite

 

 

 

 
 
 
 
 [결측항목] ZERO(결측값) 값에 해당하는 항목(범주) 출력하기
 [색상표] SAS에서 지원하는 색과 색상명