android XML格式颜色

android XML格式颜色
  1 <!--android:background="@color/"->
  2 
  3 <?xml version="1.0" encoding="utf-8"?>
  4 
  5 <resources>
  6 
  7 <color name="white">#FFFFFF</color><!--白色 -->
  8 
  9 <color name="ivory">#FFFFF0</color><!--象牙色 -->
 10 
 11 <color name="lightyellow">#FFFFE0</color><!--亮黄色 -->
 12 
 13 <color name="yellow">#FFFF00</color><!--黄色 -->
 14 
 15 <color name="snow">#FFFAFA</color><!--雪白色 -->
 16 
 17 <color name="floralwhite">#FFFAF0</color><!--花白色 -->
 18 
 19 <color name="lemonchiffon">#FFFACD</color><!--柠檬绸色 -->
 20 
 21 <color name="cornsilk">#FFF8DC</color><!--米绸色 -->
 22 
 23 <color name="seashell">#FFF5EE</color><!--海贝色 -->
 24 
 25 <color name="lavenderblush">#FFF0F5</color><!--淡紫红 -->
 26 
 27 <color name="papayawhip">#FFEFD5</color><!--番木色 -->
 28 
 29 <color name="blanchedalmond">#FFEBCD</color><!--白杏色 -->
 30 
 31 <color name="mistyrose">#FFE4E1</color><!--浅玫瑰色 -->
 32 
 33 <color name="bisque">#FFE4C4</color><!--桔黄色 -->
 34 
 35 <color name="moccasin">#FFE4B5</color><!--鹿皮色 -->
 36 
 37 <color name="navajowhite">#FFDEAD</color><!--纳瓦白 -->
 38 
 39 <color name="peachpuff">#FFDAB9</color><!--桃色 -->
 40 
 41 <color name="gold">#FFD700</color><!--金色 -->
 42 
 43 <color name="pink">#FFC0CB</color><!--粉红色 -->
 44 
 45 <color name="lightpink">#FFB6C1</color><!--亮粉红色 -->
 46 
 47 <color name="orange">#FFA500</color><!--橙色 -->
 48 
 49 <color name="lightsalmon">#FFA07A</color><!--亮肉色 -->
 50 
 51 <color name="darkorange">#FF8C00</color><!--暗桔黄色 -->
 52 
 53 <color name="coral">#FF7F50</color><!--珊瑚色 -->
 54 
 55 <color name="hotpink">#FF69B4</color><!--热粉红色 -->
 56 
 57 <color name="tomato">#FF6347</color><!--西红柿色 -->
 58 
 59 <color name="orangered">#FF4500</color><!--红橙色 -->
 60 
 61 <color name="deeppink">#FF1493</color><!--深粉红色 -->
 62 
 63 <color name="fuchsia">#FF00FF</color><!--紫红色 -->
 64 
 65 <color name="magenta">#FF00FF</color><!--红紫色 -->
 66 
 67 <color name="red">#FF0000</color><!--红色 -->
 68 
 69 <color name="oldlace">#FDF5E6</color><!--老花色 -->
 70 
 71 <color name="lightgoldenrodyellow">#FAFAD2</color><!--亮金黄色 -->
 72 
 73 <color name="linen">#FAF0E6</color><!--亚麻色 -->
 74 
 75 <color name="antiquewhite">#FAEBD7</color><!--古董白 -->
 76 
 77 <color name="salmon">#FA8072</color><!--鲜肉色 -->
 78 
 79 <color name="ghostwhite">#F8F8FF</color><!--幽灵白 -->
 80 
 81 <color name="mintcream">#F5FFFA</color><!--薄荷色 -->
 82 
 83 <color name="whitesmoke">#F5F5F5</color><!--烟白色 -->
 84 
 85 <color name="beige">#F5F5DC</color><!--米色 -->
 86 
 87 <color name="wheat">#F5DEB3</color><!--浅黄色 -->
 88 
 89 <color name="sandybrown">#F4A460</color><!--沙褐色 -->
 90 
 91 <color name="azure">#F0FFFF</color><!--天蓝色 -->
 92 
 93 <color name="honeydew">#F0FFF0</color><!--蜜色 -->
 94 
 95 <color name="aliceblue">#F0F8FF</color><!--艾利斯兰 -->
 96 
 97 <color name="khaki">#F0E68C</color><!--黄褐色 -->
 98 
 99 <color name="lightcoral">#F08080</color><!--亮珊瑚色 -->
100 
101 <color name="palegoldenrod">#EEE8AA</color><!--苍麒麟色 -->
102 
103 <color name="violet">#EE82EE</color><!--紫罗兰色 -->
104 
105 <color name="darksalmon">#E9967A</color><!--暗肉色 -->
106 
107 <color name="lavender">#E6E6FA</color><!--淡紫色 -->
108 
109 <color name="lightcyan">#E0FFFF</color><!--亮青色 -->
110 
111 <color name="burlywood">#DEB887</color><!--实木色 -->
112 
113 <color name="plum">#DDA0DD</color><!--洋李色 -->
114 
115 <color name="gainsboro">#DCDCDC</color><!--淡灰色 -->
116 
117 <color name="crimson">#DC143C</color><!--暗深红色 -->
118 
119 <color name="palevioletred">#DB7093</color><!--苍紫罗兰色-->
120 
121 <color name="goldenrod">#DAA520</color><!--金麒麟色 -->
122 
123 <color name="orchid">#DA70D6</color><!--淡紫色 -->
124 
125 <color name="thistle">#D8BFD8</color><!--蓟色 -->
126 
127 <color name="lightgray">#D3D3D3</color><!--亮灰色 -->
128 
129 <color name="lightgrey">#D3D3D3</color><!--亮灰色 -->
130 
131 <color name="tan">#D2B48C</color><!--茶色 -->
132 
133 <color name="chocolate">#D2691E</color><!--巧可力色 -->
134 
135 <color name="peru">#CD853F</color><!--秘鲁色 -->
136 
137 <color name="indianred">#CD5C5C</color><!--印第安红 -->
138 
139 <color name="mediumvioletred">#C71585</color><!--中紫罗兰色 -->
140 
141 <color name="silver">#C0C0C0</color><!--银色 -->
142 
143 <color name="darkkhaki">#BDB76B</color><!--暗黄褐色 -->
144 
145 <color name="rosybrown">#BC8F8F</color><!--褐玫瑰红 -->
146 
147 <color name="mediumorchid">#BA55D3</color><!--中粉紫色 -->
148 
149 <color name="darkgoldenrod">#B8860B</color><!--暗金黄色 -->
150 
151 <color name="firebrick">#B22222</color><!--火砖色 -->
152 
153 <color name="powderblue">#B0E0E6</color><!--粉蓝色 -->
154 
155 <color name="lightsteelblue">#B0C4DE</color><!--亮钢兰色-->
156 
157 <color name="paleturquoise">#AFEEEE</color><!--苍宝石绿 -->
158 
159 <color name="greenyellow">#ADFF2F</color><!--黄绿色 -->
160 
161 <color name="lightblue">#ADD8E6</color><!--亮蓝色 -->
162 
163 <color name="darkgray">#A9A9A9</color><!--暗灰色 -->
164 
165 <color name="darkgrey">#A9A9A9</color><!--暗灰色 -->
166 
167 <color name="brown">#A52A2A</color><!--褐色 -->
168 
169 <color name="sienna">#A0522D</color><!--赭色 -->
170 
171 <color name="darkorchid">#9932CC</color><!--暗紫色 -->
172 
173 <color name="palegreen">#98FB98</color><!--苍绿色 -->
174 
175 <color name="darkviolet">#9400D3</color><!--暗紫罗兰色 -->
176 
177 <color name="mediumpurple">#9370DB</color><!--中紫色 -->
178 
179 <color name="lightgreen">#90EE90</color><!--亮绿色 -->
180 
181 <color name="darkseagreen">#8FBC8F</color><!--暗海兰色 -->
182 
183 <color name="saddlebrown">#8B4513</color><!--重褐色 -->
184 
185 <color name="darkmagenta">#8B008B</color><!--暗洋红 -->
186 
187 <color name="darkred">#8B0000</color><!--暗红色 -->
188 
189 <color name="blueviolet">#8A2BE2</color><!--紫罗兰蓝色 -->
190 
191 <color name="lightskyblue">#87CEFA</color><!--亮天蓝色 -->
192 
193 <color name="skyblue">#87CEEB</color><!--天蓝色 -->
194 
195 <color name="gray">#808080</color><!--灰色 -->
196 
197 <color name="grey">#808080</color><!--灰色 -->
198 
199 <color name="olive">#808000</color><!--橄榄色 -->
200 
201 <color name="purple">#800080</color><!--紫色 -->
202 
203 <color name="maroon">#800000</color><!--粟色 -->
204 
205 <color name="aquamarine">#7FFFD4</color><!--碧绿色 -->
206 
207 <color name="chartreuse">#7FFF00</color><!--黄绿色 -->
208 
209 <color name="lawngreen">#7CFC00</color><!--草绿色 -->
210 
211 <color name="mediumslateblue">#7B68EE</color><!--中暗蓝色-->
212 
213 <color name="lightslategray">#778899</color><!--亮蓝灰 -->
214 
215 <color name="lightslategrey">#778899</color><!--亮蓝灰 -->
216 
217 <color name="slategray">#708090</color><!--灰石色 -->
218 
219 <color name="slategrey">#708090</color><!--灰石色 -->
220 
221 <color name="olivedrab">#6B8E23</color><!--深绿褐色 -->
222 
223 <color name="slateblue">#6A5ACD</color><!--石蓝色 -->
224 
225 <color name="dimgray">#696969</color><!--暗灰色 -->
226 
227 <color name="dimgrey">#696969</color><!--暗灰色 -->
228 
229 <color name="mediumaquamarine">#66CDAA</color><!--中绿色-->
230 
231 <color name="cornflowerblue">#6495ED</color><!--菊兰色 -->
232 
233 <color name="cadetblue">#5F9EA0</color><!--军兰色 -->
234 
235 <color name="darkolivegreen">#556B2F</color><!--暗橄榄绿 -->
236 
237 <color name="indigo">#4B0082</color><!--靛青色 -->
238 
239 <color name="mediumturquoise">#48D1CC</color><!--中绿宝石-->
240 
241 <color name="darkslateblue">#483D8B</color><!--暗灰蓝色 -->
242 
243 <color name="steelblue">#4682B4</color><!--钢兰色 -->
244 
245 <color name="royalblue">#4169E1</color><!--皇家蓝 -->
246 
247 <color name="turquoise">#40E0D0</color><!--青绿色 -->
248 
249 <color name="mediumseagreen">#3CB371</color><!--中海蓝 -->
250 
251 <color name="limegreen">#32CD32</color><!--橙绿色 -->
252 
253 <color name="darkslategray">#2F4F4F</color><!--暗瓦灰色 -->
254 
255 <color name="darkslategrey">#2F4F4F</color><!--暗瓦灰色 -->
256 
257 <color name="seagreen">#2E8B57</color><!--海绿色 -->
258 
259 <color name="forestgreen">#228B22</color><!--森林绿 -->
260 
261 <color name="lightseagreen">#20B2AA</color><!--亮海蓝色 -->
262 
263 <color name="dodgerblue">#1E90FF</color><!--闪兰色 -->
264 
265 <color name="midnightblue">#191970</color><!--中灰兰色 -->
266 
267 <color name="aqua">#00FFFF</color><!--浅绿色 -->
268 
269 <color name="cyan">#00FFFF</color><!--青色 -->
270 
271 <color name="springgreen">#00FF7F</color><!--春绿色 -->
272 
273 <color name="lime">#00FF00</color><!--酸橙色 -->
274 
275 <color name="mediumspringgreen">#00FA9A</color><!--中春绿色 -->
276 
277 <color name="darkturquoise">#00CED1</color><!--暗宝石绿 -->
278 
279 <color name="deepskyblue">#00BFFF</color><!--深天蓝色 -->
280 
281 <color name="darkcyan">#008B8B</color><!--暗青色 -->
282 
283 <color name="teal">#008080</color><!--水鸭色 -->
284 
285 <color name="green">#008000</color><!--绿色 -->
286 
287 <color name="darkgreen">#006400</color><!--暗绿色 -->
288 
289 <color name="blue">#0000FF</color><!--蓝色 -->
290 
291 <color name="mediumblue">#0000CD</color><!--中兰色 -->
292 
293 <color name="darkblue">#00008B</color><!--暗蓝色 -->
294 
295 <color name="navy">#000080</color><!--海军色 -->
296 
297 <color name="black">#000000</color><!--黑色 -->
298 
299 </resources>
android XML格式颜色

android XML格式颜色,布布扣,bubuko.com

android XML格式颜色

上一篇:【转】对Android开发者有益的40条优化建议


下一篇:Android 怎么退出整个应用程序?