android顏色對應的xml配置值,顏色表

iteye_21202發表於2013-05-09



























Java程式碼 收藏程式碼
  1. <?xmlversion="1.0"encoding="utf-8"?>
  2. <resources>
  3. <colorname="white">#FFFFFF</color><!--白色-->
  4. <colorname="ivory">#FFFFF0</color><!--象牙色-->
  5. <colorname="lightyellow">#FFFFE0</color><!--亮黃色-->
  6. <colorname="yellow">#FFFF00</color><!--黃色-->
  7. <colorname="snow">#FFFAFA</color><!--雪白色-->
  8. <colorname="floralwhite">#FFFAF0</color><!--花白色-->
  9. <colorname="lemonchiffon">#FFFACD</color><!--檸檬綢色-->
  10. <colorname="cornsilk">#FFF8DC</color><!--米綢色-->
  11. <colorname="seashell">#FFF5EE</color><!--海貝色-->
  12. <colorname="lavenderblush">#FFF0F5</color><!--淡紫紅-->
  13. <colorname="papayawhip">#FFEFD5</color><!--番木色-->
  14. <colorname="blanchedalmond">#FFEBCD</color><!--白杏色-->
  15. <colorname="mistyrose">#FFE4E1</color><!--淺玫瑰色-->
  16. <colorname="bisque">#FFE4C4</color><!--桔黃色-->
  17. <colorname="moccasin">#FFE4B5</color><!--鹿皮色-->
  18. <colorname="navajowhite">#FFDEAD</color><!--納瓦白-->
  19. <colorname="peachpuff">#FFDAB9</color><!--桃色-->
  20. <colorname="gold">#FFD700</color><!--金色-->
  21. <colorname="pink">#FFC0CB</color><!--粉紅色-->
  22. <colorname="lightpink">#FFB6C1</color><!--亮粉紅色-->
  23. <colorname="orange">#FFA500</color><!--橙色-->
  24. <colorname="lightsalmon">#FFA07A</color><!--亮肉色-->
  25. <colorname="darkorange">#FF8C00</color><!--暗桔黃色-->
  26. <colorname="coral">#FF7F50</color><!--珊瑚色-->
  27. <colorname="hotpink">#FF69B4</color><!--熱粉紅色-->
  28. <colorname="tomato">#FF6347</color><!--西紅柿色-->
  29. <colorname="orangered">#FF4500</color><!--紅橙色-->
  30. <colorname="deeppink">#FF1493</color><!--深粉紅色-->
  31. <colorname="fuchsia">#FF00FF</color><!--紫紅色-->
  32. <colorname="magenta">#FF00FF</color><!--紅紫色-->
  33. <colorname="red">#FF0000</color><!--紅色-->
  34. <colorname="oldlace">#FDF5E6</color><!--老花色-->
  35. <colorname="lightgoldenrodyellow">#FAFAD2</color><!--亮金黃色-->
  36. <colorname="linen">#FAF0E6</color><!--亞麻色-->
  37. <colorname="antiquewhite">#FAEBD7</color><!--古董白-->
  38. <colorname="salmon">#FA8072</color><!--鮮肉色-->
  39. <colorname="ghostwhite">#F8F8FF</color><!--幽靈白-->
  40. <colorname="mintcream">#F5FFFA</color><!--薄荷色-->
  41. <colorname="whitesmoke">#F5F5F5</color><!--煙白色-->
  42. <colorname="beige">#F5F5DC</color><!--米色-->
  43. <colorname="wheat">#F5DEB3</color><!--淺黃色-->
  44. <colorname="sandybrown">#F4A460</color><!--沙褐色-->
  45. <colorname="azure">#F0FFFF</color><!--天藍色-->
  46. <colorname="honeydew">#F0FFF0</color><!--蜜色-->
  47. <colorname="aliceblue">#F0F8FF</color><!--艾利斯蘭-->
  48. <colorname="khaki">#F0E68C</color><!--黃褐色-->
  49. <colorname="lightcoral">#F08080</color><!--亮珊瑚色-->
  50. <colorname="palegoldenrod">#EEE8AA</color><!--蒼麒麟色-->
  51. <colorname="violet">#EE82EE</color><!--紫羅蘭色-->
  52. <colorname="darksalmon">#E9967A</color><!--暗肉色-->
  53. <colorname="lavender">#E6E6FA</color><!--淡紫色-->
  54. <colorname="lightcyan">#E0FFFF</color><!--亮青色-->
  55. <colorname="burlywood">#DEB887</color><!--實木色-->
  56. <colorname="plum">#DDA0DD</color><!--洋李色-->
  57. <colorname="gainsboro">#DCDCDC</color><!--淡灰色-->
  58. <colorname="crimson">#DC143C</color><!--暗深紅色-->
  59. <colorname="palevioletred">#DB7093</color><!--蒼紫羅蘭色-->
  60. <colorname="goldenrod">#DAA520</color><!--金麒麟色-->
  61. <colorname="orchid">#DA70D6</color><!--淡紫色-->
  62. <colorname="thistle">#D8BFD8</color><!--薊色-->
  63. <colorname="lightgray">#D3D3D3</color><!--亮灰色-->
  64. <colorname="lightgrey">#D3D3D3</color><!--亮灰色-->
  65. <colorname="tan">#D2B48C</color><!--茶色-->
  66. <colorname="chocolate">#D2691E</color><!--巧可力色-->
  67. <colorname="peru">#CD853F</color><!--祕魯色-->
  68. <colorname="indianred">#CD5C5C</color><!--印第安紅-->
  69. <colorname="mediumvioletred">#C71585</color><!--中紫羅蘭色-->
  70. <colorname="silver">#C0C0C0</color><!--銀色-->
  71. <colorname="darkkhaki">#BDB76B</color><!--暗黃褐色-->
  72. <colorname="rosybrown">#BC8F8F</color><!--褐玫瑰紅-->
  73. <colorname="mediumorchid">#BA55D3</color><!--中粉紫色-->
  74. <colorname="darkgoldenrod">#B8860B</color><!--暗金黃色-->
  75. <colorname="firebrick">#B22222</color><!--火磚色-->
  76. <colorname="powderblue">#B0E0E6</color><!--粉藍色-->
  77. <colorname="lightsteelblue">#B0C4DE</color><!--亮鋼蘭色-->
  78. <colorname="paleturquoise">#AFEEEE</color><!--蒼寶石綠-->
  79. <colorname="greenyellow">#ADFF2F</color><!--黃綠色-->
  80. <colorname="lightblue">#ADD8E6</color><!--亮藍色-->
  81. <colorname="darkgray">#A9A9A9</color><!--暗灰色-->
  82. <colorname="darkgrey">#A9A9A9</color><!--暗灰色-->
  83. <colorname="brown">#A52A2A</color><!--褐色-->
  84. <colorname="sienna">#A0522D</color><!--赭色-->
  85. <colorname="darkorchid">#9932CC</color><!--暗紫色-->
  86. <colorname="palegreen">#98FB98</color><!--蒼綠色-->
  87. <colorname="darkviolet">#9400D3</color><!--暗紫羅蘭色-->
  88. <colorname="mediumpurple">#9370DB</color><!--中紫色-->
  89. <colorname="lightgreen">#90EE90</color><!--亮綠色-->
  90. <colorname="darkseagreen">#8FBC8F</color><!--暗海蘭色-->
  91. <colorname="saddlebrown">#8B4513</color><!--重褐色-->
  92. <colorname="darkmagenta">#8B008B</color><!--暗洋紅-->
  93. <colorname="darkred">#8B0000</color><!--暗紅色-->
  94. <colorname="blueviolet">#8A2BE2</color><!--紫羅蘭藍色-->
  95. <colorname="lightskyblue">#87CEFA</color><!--亮天藍色-->
  96. <colorname="skyblue">#87CEEB</color><!--天藍色-->
  97. <colorname="gray">#808080</color><!--灰色-->
  98. <colorname="grey">#808080</color><!--灰色-->
  99. <colorname="olive">#808000</color><!--橄欖色-->
  100. <colorname="purple">#800080</color><!--紫色-->
  101. <colorname="maroon">#800000</color><!--粟色-->
  102. <colorname="aquamarine">#7FFFD4</color><!--碧綠色-->
  103. <colorname="chartreuse">#7FFF00</color><!--黃綠色-->
  104. <colorname="lawngreen">#7CFC00</color><!--草綠色-->
  105. <colorname="mediumslateblue">#7B68EE</color><!--中暗藍色-->
  106. <colorname="lightslategray">#778899</color><!--亮藍灰-->
  107. <colorname="lightslategrey">#778899</color><!--亮藍灰-->
  108. <colorname="slategray">#708090</color><!--灰石色-->
  109. <colorname="slategrey">#708090</color><!--灰石色-->
  110. <colorname="olivedrab">#6B8E23</color><!--深綠褐色-->
  111. <colorname="slateblue">#6A5ACD</color><!--石藍色-->
  112. <colorname="dimgray">#696969</color><!--暗灰色-->
  113. <colorname="dimgrey">#696969</color><!--暗灰色-->
  114. <colorname="mediumaquamarine">#66CDAA</color><!--中綠色-->
  115. <colorname="cornflowerblue">#6495ED</color><!--菊蘭色-->
  116. <colorname="cadetblue">#5F9EA0</color><!--軍蘭色-->
  117. <colorname="darkolivegreen">#556B2F</color><!--暗橄欖綠-->
  118. <colorname="indigo">#4B0082</color><!--靛青色-->
  119. <colorname="mediumturquoise">#48D1CC</color><!--中綠寶石-->
  120. <colorname="darkslateblue">#483D8B</color><!--暗灰藍色-->
  121. <colorname="steelblue">#4682B4</color><!--鋼蘭色-->
  122. <colorname="royalblue">#4169E1</color><!--皇家藍-->
  123. <colorname="turquoise">#40E0D0</color><!--青綠色-->
  124. <colorname="mediumseagreen">#3CB371</color><!--中海藍-->
  125. <colorname="limegreen">#32CD32</color><!--橙綠色-->
  126. <colorname="darkslategray">#2F4F4F</color><!--暗瓦灰色-->
  127. <colorname="darkslategrey">#2F4F4F</color><!--暗瓦灰色-->
  128. <colorname="seagreen">#2E8B57</color><!--海綠色-->
  129. <colorname="forestgreen">#228B22</color><!--森林綠-->
  130. <colorname="lightseagreen">#20B2AA</color><!--亮海藍色-->
  131. <colorname="dodgerblue">#1E90FF</color><!--閃蘭色-->
  132. <colorname="midnightblue">#191970</color><!--中灰蘭色-->
  133. <colorname="aqua">#00FFFF</color><!--淺綠色-->
  134. <colorname="cyan">#00FFFF</color><!--青色-->
  135. <colorname="springgreen">#00FF7F</color><!--春綠色-->
  136. <colorname="lime">#00FF00</color><!--酸橙色-->
  137. <colorname="mediumspringgreen">#00FA9A</color><!--中春綠色-->
  138. <colorname="darkturquoise">#00CED1</color><!--暗寶石綠-->
  139. <colorname="deepskyblue">#00BFFF</color><!--深天藍色-->
  140. <colorname="darkcyan">#008B8B</color><!--暗青色-->
  141. <colorname="teal">#008080</color><!--水鴨色-->
  142. <colorname="green">#008000</color><!--綠色-->
  143. <colorname="darkgreen">#006400</color><!--暗綠色-->
  144. <colorname="blue">#0000FF</color><!--藍色-->
  145. <colorname="mediumblue">#0000CD</color><!--中蘭色-->
  146. <colorname="darkblue">#00008B</color><!--暗藍色-->
  147. <colorname="navy">#000080</color><!--海軍色-->
  148. <colorname="black">#000000</color><!--黑色-->
  149. </resources>

相關文章