在Android XML资源文件的格式中,所有X11/w3c颜色代码看起来像什么?
我知道这个问题看起来有点荒谬,但考虑到投票显然是有用的,因为它显然不需要场外资源,我正在重新格式化它以保留它。——编辑器。
在Android XML资源文件的格式中,所有X11/w3c颜色代码看起来像什么?
我知道这个问题看起来有点荒谬,但考虑到投票显然是有用的,因为它显然不需要场外资源,我正在重新格式化它以保留它。——编辑器。
当前回答
以下是Lars提交的改进后的答案:这适用于新的android“L”(预览)
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item name="White" type="color">#FFFFFFFF</item>
<item name="Ivory" type="color">#FFFFFFF0</item>
<item name="LightYellow" type="color">#FFFFFFE0</item>
<item name="Yellow" type="color">#FFFFFF00</item>
<item name="Snow" type="color">#FFFFFAFA</item>
<item name="FloralWhite" type="color">#FFFFFAF0</item>
<item name="LemonChiffon" type="color">#FFFFFACD</item>
<item name="Cornsilk" type="color">#FFFFF8DC</item>
<item name="Seashell" type="color">#FFFFF5EE</item>
<item name="LavenderBlush" type="color">#FFFFF0F5</item>
<item name="PapayaWhip" type="color">#FFFFEFD5</item>
<item name="BlanchedAlmond" type="color">#FFFFEBCD</item>
<item name="MistyRose" type="color">#FFFFE4E1</item>
<item name="Bisque" type="color">#FFFFE4C4</item>
<item name="Moccasin" type="color">#FFFFE4B5</item>
<item name="NavajoWhite" type="color">#FFFFDEAD</item>
<item name="PeachPuff" type="color">#FFFFDAB9</item>
<item name="Gold" type="color">#FFFFD700</item>
<item name="Pink" type="color">#FFFFC0CB</item>
<item name="LightPink" type="color">#FFFFB6C1</item>
<item name="Orange" type="color">#FFFFA500</item>
<item name="LightSalmon" type="color">#FFFFA07A</item>
<item name="DarkOrange" type="color">#FFFF8C00</item>
<item name="Coral" type="color">#FFFF7F50</item>
<item name="HotPink" type="color">#FFFF69B4</item>
<item name="Tomato" type="color">#FFFF6347</item>
<item name="OrangeRed" type="color">#FFFF4500</item>
<item name="DeepPink" type="color">#FFFF1493</item>
<item name="Fuchsia" type="color">#FFFF00FF</item>
<item name="Magenta" type="color">#FFFF00FF</item>
<item name="Red" type="color">#FFFF0000</item>
<item name="OldLace" type="color">#FFFDF5E6</item>
<item name="LightGoldenrodYellow" type="color">#FFFAFAD2</item>
<item name="Linen" type="color">#FFFAF0E6</item>
<item name="AntiqueWhite" type="color">#FFFAEBD7</item>
<item name="Salmon" type="color">#FFFA8072</item>
<item name="GhostWhite" type="color">#FFF8F8FF</item>
<item name="MintCream" type="color">#FFF5FFFA</item>
<item name="WhiteSmoke" type="color">#FFF5F5F5</item>
<item name="Beige" type="color">#FFF5F5DC</item>
<item name="Wheat" type="color">#FFF5DEB3</item>
<item name="SandyBrown" type="color">#FFF4A460</item>
<item name="Azure" type="color">#FFF0FFFF</item>
<item name="Honeydew" type="color">#FFF0FFF0</item>
<item name="AliceBlue" type="color">#FFF0F8FF</item>
<item name="Khaki" type="color">#FFF0E68C</item>
<item name="LightCoral" type="color">#FFF08080</item>
<item name="PaleGoldenrod" type="color">#FFEEE8AA</item>
<item name="Violet" type="color">#FFEE82EE</item>
<item name="DarkSalmon" type="color">#FFE9967A</item>
<item name="Lavender" type="color">#FFE6E6FA</item>
<item name="LightCyan" type="color">#FFE0FFFF</item>
<item name="BurlyWood" type="color">#FFDEB887</item>
<item name="Plum" type="color">#FFDDA0DD</item>
<item name="Gainsboro" type="color">#FFDCDCDC</item>
<item name="Crimson" type="color">#FFDC143C</item>
<item name="PaleVioletRed" type="color">#FFDB7093</item>
<item name="Goldenrod" type="color">#FFDAA520</item>
<item name="Orchid" type="color">#FFDA70D6</item>
<item name="Thistle" type="color">#FFD8BFD8</item>
<item name="LightGrey" type="color">#FFD3D3D3</item>
<item name="Tan" type="color">#FFD2B48C</item>
<item name="Chocolate" type="color">#FFD2691E</item>
<item name="Peru" type="color">#FFCD853F</item>
<item name="IndianRed" type="color">#FFCD5C5C</item>
<item name="MediumVioletRed" type="color">#FFC71585</item>
<item name="Silver" type="color">#FFC0C0C0</item>
<item name="DarkKhaki" type="color">#FFBDB76B</item>
<item name="RosyBrown" type="color">#FFBC8F8F</item>
<item name="MediumOrchid" type="color">#FFBA55D3</item>
<item name="DarkGoldenrod" type="color">#FFB8860B</item>
<item name="FireBrick" type="color">#FFB22222</item>
<item name="PowderBlue" type="color">#FFB0E0E6</item>
<item name="LightSteelBlue" type="color">#FFB0C4DE</item>
<item name="PaleTurquoise" type="color">#FFAFEEEE</item>
<item name="GreenYellow" type="color">#FFADFF2F</item>
<item name="LightBlue" type="color">#FFADD8E6</item>
<item name="DarkGray" type="color">#FFA9A9A9</item>
<item name="Brown" type="color">#FFA52A2A</item>
<item name="Sienna" type="color">#FFA0522D</item>
<item name="YellowGreen" type="color">#FF9ACD32</item>
<item name="DarkOrchid" type="color">#FF9932CC</item>
<item name="PaleGreen" type="color">#FF98FB98</item>
<item name="DarkViolet" type="color">#FF9400D3</item>
<item name="MediumPurple" type="color">#FF9370DB</item>
<item name="LightGreen" type="color">#FF90EE90</item>
<item name="DarkSeaGreen" type="color">#FF8FBC8F</item>
<item name="SaddleBrown" type="color">#FF8B4513</item>
<item name="DarkMagenta" type="color">#FF8B008B</item>
<item name="DarkRed" type="color">#FF8B0000</item>
<item name="BlueViolet" type="color">#FF8A2BE2</item>
<item name="LightSkyBlue" type="color">#FF87CEFA</item>
<item name="SkyBlue" type="color">#FF87CEEB</item>
<item name="Gray" type="color">#FF808080</item>
<item name="Olive" type="color">#FF808000</item>
<item name="Purple" type="color">#FF800080</item>
<item name="Maroon" type="color">#FF800000</item>
<item name="Aquamarine" type="color">#FF7FFFD4</item>
<item name="Chartreuse" type="color">#FF7FFF00</item>
<item name="LawnGreen" type="color">#FF7CFC00</item>
<item name="MediumSlateBlue" type="color">#FF7B68EE</item>
<item name="LightSlateGray" type="color">#FF778899</item>
<item name="SlateGray" type="color">#FF708090</item>
<item name="OliveDrab" type="color">#FF6B8E23</item>
<item name="SlateBlue" type="color">#FF6A5ACD</item>
<item name="DimGray" type="color">#FF696969</item>
<item name="MediumAquamarine" type="color">#FF66CDAA</item>
<item name="CornflowerBlue" type="color">#FF6495ED</item>
<item name="CadetBlue" type="color">#FF5F9EA0</item>
<item name="DarkOliveGreen" type="color">#FF556B2F</item>
<item name="Indigo" type="color">#FF4B0082</item>
<item name="MediumTurquoise" type="color">#FF48D1CC</item>
<item name="DarkSlateBlue" type="color">#FF483D8B</item>
<item name="SteelBlue" type="color">#FF4682B4</item>
<item name="RoyalBlue" type="color">#FF4169E1</item>
<item name="Turquoise" type="color">#FF40E0D0</item>
<item name="MediumSeaGreen" type="color">#FF3CB371</item>
<item name="LimeGreen" type="color">#FF32CD32</item>
<item name="DarkSlateGray" type="color">#FF2F4F4F</item>
<item name="SeaGreen" type="color">#FF2E8B57</item>
<item name="ForestGreen" type="color">#FF228B22</item>
<item name="LightSeaGreen" type="color">#FF20B2AA</item>
<item name="DodgerBlue" type="color">#FF1E90FF</item>
<item name="MidnightBlue" type="color">#FF191970</item>
<item name="Aqua" type="color">#FF00FFFF</item>
<item name="Cyan" type="color">#FF00FFFF</item>
<item name="SpringGreen" type="color">#FF00FF7F</item>
<item name="Lime" type="color">#FF00FF00</item>
<item name="MediumSpringGreen" type="color">#FF00FA9A</item>
<item name="DarkTurquoise" type="color">#FF00CED1</item>
<item name="DeepSkyBlue" type="color">#FF00BFFF</item>
<item name="DarkCyan" type="color">#FF008B8B</item>
<item name="Teal" type="color">#FF008080</item>
<item name="Green" type="color">#FF008000</item>
<item name="DarkGreen" type="color">#FF006400</item>
<item name="Blue" type="color">#FF0000FF</item>
<item name="MediumBlue" type="color">#FF0000CD</item>
<item name="DarkBlue" type="color">#FF00008B</item>
<item name="Navy" type="color">#FF000080</item>
<item name="Black" type="color">#FF000000</item>
<integer-array name="androidcolors">
<item>@color/White</item>
<item>@color/Ivory</item>
<item>@color/LightYellow</item>
<item>@color/Yellow</item>
<item>@color/Snow</item>
<item>@color/FloralWhite</item>
<item>@color/LemonChiffon</item>
<item>@color/Cornsilk</item>
<item>@color/Seashell</item>
<item>@color/LavenderBlush</item>
<item>@color/PapayaWhip</item>
<item>@color/BlanchedAlmond</item>
<item>@color/MistyRose</item>
<item>@color/Bisque</item>
<item>@color/Moccasin</item>
<item>@color/NavajoWhite</item>
<item>@color/PeachPuff</item>
<item>@color/Gold</item>
<item>@color/Pink</item>
<item>@color/LightPink</item>
<item>@color/Orange</item>
<item>@color/LightSalmon</item>
<item>@color/DarkOrange</item>
<item>@color/Coral</item>
<item>@color/HotPink</item>
<item>@color/Tomato</item>
<item>@color/OrangeRed</item>
<item>@color/DeepPink</item>
<item>@color/Fuchsia</item>
<item>@color/Magenta</item>
<item>@color/Red</item>
<item>@color/OldLace</item>
<item>@color/LightGoldenrodYellow</item>
<item>@color/Linen</item>
<item>@color/AntiqueWhite</item>
<item>@color/Salmon</item>
<item>@color/GhostWhite</item>
<item>@color/MintCream</item>
<item>@color/WhiteSmoke</item>
<item>@color/Beige</item>
<item>@color/Wheat</item>
<item>@color/SandyBrown</item>
<item>@color/Azure</item>
<item>@color/Honeydew</item>
<item>@color/AliceBlue</item>
<item>@color/Khaki</item>
<item>@color/LightCoral</item>
<item>@color/PaleGoldenrod</item>
<item>@color/Violet</item>
<item>@color/DarkSalmon</item>
<item>@color/Lavender</item>
<item>@color/LightCyan</item>
<item>@color/BurlyWood</item>
<item>@color/Plum</item>
<item>@color/Gainsboro</item>
<item>@color/Crimson</item>
<item>@color/PaleVioletRed</item>
<item>@color/Goldenrod</item>
<item>@color/Orchid</item>
<item>@color/Thistle</item>
<item>@color/LightGrey</item>
<item>@color/Tan</item>
<item>@color/Chocolate</item>
<item>@color/Peru</item>
<item>@color/IndianRed</item>
<item>@color/MediumVioletRed</item>
<item>@color/Silver</item>
<item>@color/DarkKhaki</item>
<item>@color/RosyBrown</item>
<item>@color/MediumOrchid</item>
<item>@color/DarkGoldenrod</item>
<item>@color/FireBrick</item>
<item>@color/PowderBlue</item>
<item>@color/LightSteelBlue</item>
<item>@color/PaleTurquoise</item>
<item>@color/GreenYellow</item>
<item>@color/LightBlue</item>
<item>@color/DarkGray</item>
<item>@color/Brown</item>
<item>@color/Sienna</item>
<item>@color/YellowGreen</item>
<item>@color/DarkOrchid</item>
<item>@color/PaleGreen</item>
<item>@color/DarkViolet</item>
<item>@color/MediumPurple</item>
<item>@color/LightGreen</item>
<item>@color/DarkSeaGreen</item>
<item>@color/SaddleBrown</item>
<item>@color/DarkMagenta</item>
<item>@color/DarkRed</item>
<item>@color/BlueViolet</item>
<item>@color/LightSkyBlue</item>
<item>@color/SkyBlue</item>
<item>@color/Gray</item>
<item>@color/Olive</item>
<item>@color/Purple</item>
<item>@color/Maroon</item>
<item>@color/Aquamarine</item>
<item>@color/Chartreuse</item>
<item>@color/LawnGreen</item>
<item>@color/MediumSlateBlue</item>
<item>@color/LightSlateGray</item>
<item>@color/SlateGray</item>
<item>@color/OliveDrab</item>
<item>@color/SlateBlue</item>
<item>@color/DimGray</item>
<item>@color/MediumAquamarine</item>
<item>@color/CornflowerBlue</item>
<item>@color/CadetBlue</item>
<item>@color/DarkOliveGreen</item>
<item>@color/Indigo</item>
<item>@color/MediumTurquoise</item>
<item>@color/DarkSlateBlue</item>
<item>@color/SteelBlue</item>
<item>@color/RoyalBlue</item>
<item>@color/Turquoise</item>
<item>@color/MediumSeaGreen</item>
<item>@color/LimeGreen</item>
<item>@color/DarkSlateGray</item>
<item>@color/SeaGreen</item>
<item>@color/ForestGreen</item>
<item>@color/LightSeaGreen</item>
<item>@color/DodgerBlue</item>
<item>@color/MidnightBlue</item>
<item>@color/Aqua</item>
<item>@color/Cyan</item>
<item>@color/SpringGreen</item>
<item>@color/Lime</item>
<item>@color/MediumSpringGreen</item>
<item>@color/DarkTurquoise</item>
<item>@color/DeepSkyBlue</item>
<item>@color/DarkCyan</item>
<item>@color/Teal</item>
<item>@color/Green</item>
<item>@color/DarkGreen</item>
<item>@color/Blue</item>
<item>@color/MediumBlue</item>
<item>@color/DarkBlue</item>
<item>@color/Navy</item>
<item>@color/Black</item>
</integer-array>
</resources>
其他回答
您必须在项目的res/values文件夹中创建colors.xml文件。colors.xml的代码是
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="orange">#ff5500</color>
<color name="white">#ffffff</color>
<color name="transparent">#00000000</color>
<color name="date_color">#999999</color>
<color name="black">#000000</color>
<color name="gray">#999999</color>
<color name="blue">#0066cc</color>
<color name="gold">#e6b121</color>
<color name="blueback">#99FFFF</color>
<color name="articlecolor">#3399FF</color>
<color name="article_title">#3399FF</color>
<color name="cachecolor">#8ad0e8</color>
</resources>
或者,你可以在你的应用程序中使用颜色
android.graphics.Color.TRANSPARENT;
类似的
android.graphics.Color.RED;
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="Black">#FF000000</color>
<color name="Black_overlay">#66000000</color>
<color name="Black_transparent_black_hex_1">#11000000</color>
<color name="Black_transparent_black_hex_10">#aa000000</color>
<color name="Black_transparent_black_hex_11">#bb000000</color>
<color name="Black_transparent_black_hex_12">#cc000000</color>
<color name="Black_transparent_black_hex_13">#dd000000</color>
<color name="Black_transparent_black_hex_14">#ee000000</color>
<color name="Black_transparent_black_hex_15">#ff000000</color>
<color name="Black_transparent_black_hex_2">#22000000</color>
<color name="Black_transparent_black_hex_3">#33000000</color>
<color name="Black_transparent_black_hex_4">#44000000</color>
<color name="Black_transparent_black_hex_5">#55000000</color>
<color name="Black_transparent_black_hex_6">#66000000</color>
<color name="Black_transparent_black_hex_7">#77000000</color>
<color name="Black_transparent_black_hex_8">#88000000</color>
<color name="Black_transparent_black_hex_9">#99000000</color>
<color name="Black_transparent_black_percent_10">#1A000000</color>
<color name="Black_transparent_black_percent_15">#26000000</color>
<color name="Black_transparent_black_percent_20">#33000000</color>
<color name="Black_transparent_black_percent_25">#40000000</color>
<color name="Black_transparent_black_percent_30">#4D000000</color>
<color name="Black_transparent_black_percent_35">#59000000</color>
<color name="Black_transparent_black_percent_40">#66000000</color>
<color name="Black_transparent_black_percent_45">#73000000</color>
<color name="Black_transparent_black_percent_5">#0D000000</color>
<color name="Black_transparent_black_percent_50">#80000000</color>
<color name="Black_transparent_black_percent_55">#8C000000</color>
<color name="Black_transparent_black_percent_60">#99000000</color>
<color name="Black_transparent_black_percent_65">#A6000000</color>
<color name="Black_transparent_black_percent_70">#B3000000</color>
<color name="Black_transparent_black_percent_75">#BF000000</color>
<color name="Black_transparent_black_percent_80">#CC000000</color>
<color name="Black_transparent_black_percent_85">#D9000000</color>
<color name="Black_transparent_black_percent_90">#E6000000</color>
<color name="Black_transparent_black_percent_95">#F2000000</color>
<color name="BlanchedAlmond">#FFEBCD</color>
<color name="Blue_AliceBlue">#F0F8FF</color>
<color name="Blue_Aqua">#00FFFF</color>
<color name="Blue_Aquamarine">#7FFFD4</color>
<color name="Blue">#0000FF</color>
<color name="Blue_BlueNavy">#000080</color>
<color name="Blue_BlueViolet">#8A2BE2</color>
<color name="Blue_CadetBlue">#5F9EA0</color>
<color name="Blue_CornflowerBlue">#6495ED</color>
<color name="Blue_DarkBlue">#00008B</color>
<color name="Blue_DarkSlateBlue">#483D8B</color>
<color name="Blue_DeepSkyBlue">#00BFFF</color>
<color name="Blue_DodgerBlue">#1E90FF</color>
<color name="Blue_Lavender">#E6E6FA</color>
<color name="Blue_LavenderBlush">#FFF0F5</color>
<color name="Blue_LightBlue">#ADD8E6</color>
<color name="Blue_LightSkyBlue">#87CEFA</color>
<color name="Blue_LightSteelBlue">#B0C4DE</color>
<color name="Blue_MediumBlue">#0000CD</color>
<color name="Blue_MediumSlateBlue">#7B68EE</color>
<color name="Blue_MidnightBlue">#191970</color>
<color name="Blue_Navy">#000080</color>
<color name="Blue_PowderBlue">#B0E0E6</color>
<color name="Blue_RoyalBlue">#4169E1</color>
<color name="Blue_SkyBlue">#87CEEB</color>
<color name="Blue_SlateBlue">#6A5ACD</color>
<color name="Blue_SteelBlue">#4682B4</color>
<color name="Brown">#A52A2A</color>
<color name="Brown_BurlyWood">#DEB887</color>
<color name="Brown_Chocolate">#D2691E</color>
<color name="Brown_DarkKhaki">#BDB76B</color>
<color name="Brown_RosyBrown">#BC8F8F</color>
<color name="Brown_SandyBrown">#F4A460</color>
<color name="Chartreuse">#7FFF00</color>
<color name="Coral">#FF7F50</color>
<color name="Cornsilk">#FFF8DC</color>
<color name="Cyan">#00FFFF</color>
<color name="DarkMagenta">#8B008B</color>
<color name="DarkOrchid">#9932CC</color>
<color name="DarkSalmon">#E9967A</color>
<color name="DarkTurquoise">#00CED1</color>
<color name="DarkViolet">#9400D3</color>
<color name="Fuchsia">#FF00FF</color>
<color name="Gainsboro">#DCDCDC</color>
<color name="Gray">#808080</color>
<color name="Gray_DarkGray1">#A9A9A9</color>
<color name="Gray_DarkGray">#2F4F4F</color>
<color name="Gray_DimGray">#696969</color>
<color name="Gray_LightGray">#D3D3D3</color>
<color name="Gray_LightSlateGray">#778899</color>
<color name="Gray_SlateGray">#708090</color>
<color name="Green">#008000</color>
<color name="Green_DarkGreen">#006400</color>
<color name="Green_DarkOliveGreen">#556B2F</color>
<color name="Green_DarkSeaGreen">#8FBC8F</color>
<color name="Green_ForestGreen">#228B22</color>
<color name="Green_GreenYellow">#ADFF2F</color>
<color name="Green_LawnGreen">#7CFC00</color>
<color name="Green_LightGreen">#90EE90</color>
<color name="Green_LightSeaGreen">#20B2AA</color>
<color name="Green_LimeGreen">#32CD32</color>
<color name="Green_MediumSeaGreen">#3CB371</color>
<color name="Green_MediumSpringGreen">#00FA9A</color>
<color name="Green_PaleGreen">#98FB98</color>
<color name="Green_SeaGreen">#2E8B57</color>
<color name="Green_SpringGreen">#00FF7F</color>
<color name="Green_YellowGreen">#9ACD32</color>
<color name="Indigo">#4B0082</color>
<color name="Khaki">#F0E68C</color>
<color name="LemonChiffon">#FFFACD</color>
<color name="LightCoral">#F08080</color>
<color name="LightGoldenrodYellow">#FAFAD2</color>
<color name="LightSalmon">#FFA07A</color>
<color name="Lime">#00FF00</color>
<color name="Linen">#FAF0E6</color>
<color name="Magenta">#FF00FF</color>
<color name="Maroon">#800000</color>
<color name="MediumAquamarine">#66CDAA</color>
<color name="MediumOrchid">#BA55D3</color>
<color name="MediumPurple">#9370DB</color>
<color name="MediumTurquoise">#48D1CC</color>
<color name="MintCream">#F5FFFA</color>
<color name="Moccasin">#FFE4B5</color>
<color name="OldLace">#FDF5E6</color>
<color name="Olive">#808000</color>
<color name="OliveDrab">#6B8E23</color>
<color name="Orange">#FFA500</color>
<color name="Orange_DarkOrange">#FF8C00</color>
<color name="Orchid">#DA70D6</color>
<color name="PaleTurquoise">#AFEEEE</color>
<color name="PapayaWhip">#FFEFD5</color>
<color name="PeachPuff">#FFDAB9</color>
<color name="Peru">#CD853F</color>
<color name="Pink">#FFC0CB</color>
<color name="Pink_DeepPink">#FF1493</color>
<color name="Pink_HotPink">#FF69B4</color>
<color name="Pink_LightPink">#FFB6C1</color>
<color name="Plum">#DDA0DD</color>
<color name="Purple">#800080</color>
<color name="Red">#FF0000</color>
<color name="Red_Crimson">#DC143C</color>
<color name="Red_DarkCyan">#008B8B</color>
<color name="Red_DarkRed">#8B0000</color>
<color name="Red_FireBrick">#B22222</color>
<color name="Red_IndianRed">#CD5C5C</color>
<color name="Red_LightCyan">#E0FFFF</color>
<color name="Red_MediumVioletRed">#C71585</color>
<color name="Red_MistyRose">#FFE4E1</color>
<color name="Red_OrangeRed">#FF4500</color>
<color name="Red_PaleVioletRed">#DB7093</color>
<color name="Red_Tomato">#FF6347</color>
<color name="SaddleBrown">#8B4513</color>
<color name="Salmon">#FA8072</color>
<color name="Seashell">#FFF5EE</color>
<color name="Sienna">#A0522D</color>
<color name="Silver">#C0C0C0</color>
<color name="Tan">#D2B48C</color>
<color name="Thistle">#D8BFD8</color>
<color name="Turquoise">#40E0D0</color>
<color name="Violet">#EE82EE</color>
<color name="White_AntiqueWhite">#FAEBD7</color>
<color name="White_Azure">#F0FFFF</color>
<color name="White_Beige">#F5F5DC</color>
<color name="White_Bisque">#FFE4C4</color>
<color name="White_FloralWhite">#FFFAF0</color>
<color name="White_GhostWhite">#F8F8FF</color>
<color name="White_Honeydew">#F0FFF0</color>
<color name="White_Ivory">#FFFFF0</color>
<color name="White_NavajoWhite">#FFDEAD</color>
<color name="White_Snow">#FFFAFA</color>
<color name="White_Teal">#008080</color>
<color name="White_transparent_white_hex_1">#11ffffff</color>
<color name="White_transparent_white_hex_10">#aaffffff</color>
<color name="White_transparent_white_hex_11">#bbffffff</color>
<color name="White_transparent_white_hex_12">#ccffffff</color>
<color name="White_transparent_white_hex_13">#ddffffff</color>
<color name="White_transparent_white_hex_14">#eeffffff</color>
<color name="White_transparent_white_hex_15">#ffffffff</color>
<color name="White_transparent_white_hex_2">#22ffffff</color>
<color name="White_transparent_white_hex_3">#33ffffff</color>
<color name="White_transparent_white_hex_4">#44ffffff</color>
<color name="White_transparent_white_hex_5">#55ffffff</color>
<color name="White_transparent_white_hex_6">#66ffffff</color>
<color name="White_transparent_white_hex_7">#77ffffff</color>
<color name="White_transparent_white_hex_8">#88ffffff</color>
<color name="White_transparent_white_hex_9">#99ffffff</color>
<color name="White_transparent_white_percent_10">#1Affffff</color>
<color name="White_transparent_white_percent_15">#26ffffff</color>
<color name="White_transparent_white_percent_20">#33ffffff</color>
<color name="White_transparent_white_percent_25">#40ffffff</color>
<color name="White_transparent_white_percent_30">#4Dffffff</color>
<color name="White_transparent_white_percent_35">#59ffffff</color>
<color name="White_transparent_white_percent_40">#66ffffff</color>
<color name="White_transparent_white_percent_45">#73ffffff</color>
<color name="White_transparent_white_percent_5">#0Dffffff</color>
<color name="White_transparent_white_percent_50">#80ffffff</color>
<color name="White_transparent_white_percent_55">#8Cffffff</color>
<color name="White_transparent_white_percent_60">#99ffffff</color>
<color name="White_transparent_white_percent_65">#A6ffffff</color>
<color name="White_transparent_white_percent_70">#B3ffffff</color>
<color name="White_transparent_white_percent_75">#BFffffff</color>
<color name="White_transparent_white_percent_80">#CCffffff</color>
<color name="White_transparent_white_percent_85">#D9ffffff</color>
<color name="White_transparent_white_percent_90">#E6ffffff</color>
<color name="White_transparent_white_percent_95">#F2ffffff</color>
<color name="White_Wheat">#F5DEB3</color>
<color name="White_White">#FFFFFF</color>
<color name="White_WhiteSmoke">#F5F5F5</color>
<color name="Yellow">#FFFF00</color>
<color name="Yellow_DarkGoldenrod">#B8860B</color>
<color name="Yellow_Gold">#FFD700</color>
<color name="Yellow_GoldenRod">#DAA520</color>
<color name="Yellow_LightYellow">#FFFFE0</color>
<color name="Yellow_PaleGoldenrod">#EEE8AA</color>
改进COLOR.xml文件的字母顺序
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Android style -->
<color name="android_green">#A4C639</color>
<!-- Android Holo style -->
<color name="holo_blue_bright">#ff00ddff</color>
<color name="holo_blue_dark">#ff0099cc</color>
<color name="holo_blue_light">#ff33b5e5</color>
<color name="holo_green_dark">#ff669900</color>
<color name="holo_green_light">#ff99cc00</color>
<color name="holo_orange_dark">#ffff8800</color>
<color name="holo_orange_light">#ffffbb33</color>
<color name="holo_purple">#ffaa66cc</color>
<color name="holo_red_dark">#ffcc0000</color>
<color name="holo_red_light">#ffff4444</color>
<!-- Windows 8 style -->
<color name="win8_magenta">#FF0097</color>
<color name="win8_purple">#A200FF</color>
<color name="win8_teal">#00ABA9</color>
<color name="win8_lime">#8CBF26</color>
<color name="win8_brown">#A05000</color>
<color name="win8_pink">#E671B8</color>
<color name="win8_orange">#F09609</color>
<color name="win8_blue">#1BA1E2</color>
<color name="win8_red">#E51400</color>
<color name="win8_green">#339933</color>
<!-- Common -->
<color name="white">#FFFFFF</color>
<color name="black">#000000</color>
<color name="red">#FF0000</color>
<color name="green">#008000</color>
<color name="blue">#0000FF</color>
<color name="yellow">#FFFF00</color>
<color name="teal">#008080</color>
<color name="Orange">#FFA500</color>
<!-- Generic -->
<!-- Generic Dark -->
<color name="DarkTurquoise">#00CED1</color>
<color name="DarkCyan">#008B8B</color>
<color name="DarkGreen">#006400</color>
<color name="DarkSalmon">#E9967A</color>
<color name="DarkBlue">#00008B</color>
<color name="DarkOrange">#FF8C00</color>
<color name="DarkOrchid">#9932CC</color>
<color name="DarkViolet">#9400D3</color>
<color name="DarkMagenta">#8B008B</color>
<color name="DarkRed">#8B0000</color>
<color name="DarkOliveGreen">#556B2F</color>
<color name="DarkSlateGray">#2F4F4F</color>
<color name="DarkSlateBlue">#483D8B</color>
<color name="DarkSeaGreen">#8FBC8F</color>
<color name="DarkGray">#A9A9A9</color>
<color name="DarkGoldenrod">#B8860B</color>
<color name="DarkKhaki">#BDB76B</color>
<!-- Generic Light -->
<color name="LightGrey">#D3D3D3</color>
<color name="LightSteelBlue">#B0C4DE</color>
<color name="LightBlue">#ADD8E6</color>
<color name="LightPink">#FFB6C1</color>
<color name="LightSalmon">#FFA07A</color>
<color name="LightCyan">#E0FFFF</color>
<color name="LightCoral">#F08080</color>
<color name="LightSkyBlue">#87CEFA</color>
<color name="LightSeaGreen">#20B2AA</color>
<color name="LightSlateGray">#778899</color>
<color name="LightGreen">#90EE90</color>
<color name="LightYellow">#FFFFE0</color>
<color name="LightGoldenrodYellow">#FAFAD2</color>
<!-- Generic Medium -->
<color name="MediumSlateBlue">#7B68EE</color>
<color name="MediumAquamarine">#66CDAA</color>
<color name="MediumVioletRed">#C71585</color>
<color name="MediumOrchid">#BA55D3</color>
<color name="MediumPurple">#9370DB</color>
<color name="MediumBlue">#0000CD</color>
<color name="MediumTurquoise">#48D1CC</color>
<color name="MediumSeaGreen">#3CB371</color>
<color name="MediumSpringGreen">#00FA9A</color>
<!-- a -->
<color name="Azure">#F0FFFF</color>
<color name="AliceBlue">#F0F8FF</color>
<color name="AntiqueWhite">#FAEBD7</color>
<color name="Aquamarine">#7FFFD4</color>
<!-- b -->
<color name="Beige">#F5F5DC</color>
<color name="BurlyWood">#DEB887</color>
<color name="Brown">#A52A2A</color>
<color name="BlueViolet">#8A2BE2</color>
<color name="aqua">#00FFFF</color>
<color name="Bisque">#FFE4C4</color>
<color name="BlanchedAlmond">#FFEBCD</color>
<!-- c -->
<color name="Cornsilk">#FFF8DC</color>
<color name="Coral">#FF7F50</color>
<color name="Chocolate">#D2691E</color>
<color name="Crimson">#DC143C</color>
<color name="CornflowerBlue">#6495ED</color>
<color name="CadetBlue">#5F9EA0</color>
<color name="Chartreuse">#7FFF00</color>
<!-- d -->
<color name="DeepPink">#FF1493</color>
<color name="DeepSkyBlue">#00BFFF</color>
<color name="DimGray">#696969</color>
<color name="DodgerBlue">#1E90FF</color>
<!-- e -->
<!-- f -->
<color name="fuchsia">#FF00FF</color>
<color name="ForestGreen">#228B22</color>
<color name="FloralWhite">#FFFAF0</color>
<color name="FireBrick">#B22222</color>
<color name="Fuchsia">#FF00FF</color>
<!-- g -->
<color name="Gold">#FFD700</color>
<color name="GreenYellow">#ADFF2F</color>
<color name="gray">#808080</color>
<color name="Goldenrod">#DAA520</color>
<color name="Gainsboro">#DCDCDC</color>
<color name="GhostWhite">#F8F8FF</color>
<!-- h -->
<color name="Honeydew">#F0FFF0</color>
<color name="HotPink">#FF69B4</color>
<!-- i -->
<color name="Indigo">#4B0082</color>
<color name="Ivory">#FFFFF0</color>
<color name="IndianRed">#CD5C5C</color>
<!-- j -->
<!-- k -->
<color name="Khaki">#F0E68C</color>
<!-- l -->
<color name="lime">#00FF00</color>
<color name="LawnGreen">#7CFC00</color>
<color name="LavenderBlush">#FFF0F5</color>
<color name="Linen">#FAF0E6</color>
<color name="LemonChiffon">#FFFACD</color>
<color name="Lavender">#E6E6FA</color>
<color name="LimeGreen">#32CD32</color>
<!-- m -->
<color name="maroon">#800000</color>
<color name="Moccasin">#FFE4B5</color>
<color name="Maroon">#800000</color>
<color name="MintCream">#F5FFFA</color>
<color name="Magenta">#FF00FF</color>
<color name="MidnightBlue">#191970</color>
<color name="MistyRose">#FFE4E1</color>
<!-- n -->
<color name="navy">#000080</color>
<color name="NavajoWhite">#FFDEAD</color>
<!-- o -->
<color name="olive">#808000</color>
<color name="OliveDrab">#6B8E23</color>
<color name="OrangeRed">#FF4500</color>
<color name="OldLace">#FDF5E6</color>
<color name="Orchid">#DA70D6</color>
<!-- p -->
<color name="PeachPuff">#FFDAB9</color>
<color name="Pink">#FFC0CB</color>
<color name="Peru">#CD853F</color>
<color name="PaleGoldenrod">#EEE8AA</color>
<color name="PaleVioletRed">#DB7093</color>
<color name="Plum">#DDA0DD</color>
<color name="PaleGreen">#98FB98</color>
<color name="PowderBlue">#B0E0E6</color>
<color name="PaleTurquoise">#AFEEEE</color>
<color name="PapayaWhip">#FFEFD5</color>
<!-- q -->
<!-- r -->
<color name="RoyalBlue">#4169E1</color>
<color name="RosyBrown">#BC8F8F</color>
<!-- s -->
<color name="silver">#C0C0C0</color>
<color name="Seashell">#FFF5EE</color>
<color name="Snow">#FFFAFA</color>
<color name="Sienna">#A0522D</color>
<color name="SpringGreen">#00FF7F</color>
<color name="SkyBlue">#87CEEB</color>
<color name="SeaGreen">#2E8B57</color>
<color name="SteelBlue">#4682B4</color>
<color name="SlateGray">#708090</color>
<color name="SlateBlue">#6A5ACD</color>
<color name="SaddleBrown">#8B4513</color>
<color name="Salmon">#FA8072</color>
<color name="SandyBrown">#F4A460</color>
<!-- t -->
<color name="Thistle">#D8BFD8</color>
<color name="Turquoise">#40E0D0</color>
<color name="Tan">#D2B48C</color>
<color name="Tomato">#FF6347</color>
<!-- u -->
<!-- v -->
<color name="purple">#800080</color>
<color name="Violet">#EE82EE</color>
<!-- w -->
<color name="WhiteSmoke">#F5F5F5</color>
<color name="Wheat">#F5DEB3</color>
<!-- x -->
<!-- y -->
<color name="YellowGreen">#9ACD32</color>
<!-- z -->
</resources>
以下是Lars提交的改进后的答案:这适用于新的android“L”(预览)
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item name="White" type="color">#FFFFFFFF</item>
<item name="Ivory" type="color">#FFFFFFF0</item>
<item name="LightYellow" type="color">#FFFFFFE0</item>
<item name="Yellow" type="color">#FFFFFF00</item>
<item name="Snow" type="color">#FFFFFAFA</item>
<item name="FloralWhite" type="color">#FFFFFAF0</item>
<item name="LemonChiffon" type="color">#FFFFFACD</item>
<item name="Cornsilk" type="color">#FFFFF8DC</item>
<item name="Seashell" type="color">#FFFFF5EE</item>
<item name="LavenderBlush" type="color">#FFFFF0F5</item>
<item name="PapayaWhip" type="color">#FFFFEFD5</item>
<item name="BlanchedAlmond" type="color">#FFFFEBCD</item>
<item name="MistyRose" type="color">#FFFFE4E1</item>
<item name="Bisque" type="color">#FFFFE4C4</item>
<item name="Moccasin" type="color">#FFFFE4B5</item>
<item name="NavajoWhite" type="color">#FFFFDEAD</item>
<item name="PeachPuff" type="color">#FFFFDAB9</item>
<item name="Gold" type="color">#FFFFD700</item>
<item name="Pink" type="color">#FFFFC0CB</item>
<item name="LightPink" type="color">#FFFFB6C1</item>
<item name="Orange" type="color">#FFFFA500</item>
<item name="LightSalmon" type="color">#FFFFA07A</item>
<item name="DarkOrange" type="color">#FFFF8C00</item>
<item name="Coral" type="color">#FFFF7F50</item>
<item name="HotPink" type="color">#FFFF69B4</item>
<item name="Tomato" type="color">#FFFF6347</item>
<item name="OrangeRed" type="color">#FFFF4500</item>
<item name="DeepPink" type="color">#FFFF1493</item>
<item name="Fuchsia" type="color">#FFFF00FF</item>
<item name="Magenta" type="color">#FFFF00FF</item>
<item name="Red" type="color">#FFFF0000</item>
<item name="OldLace" type="color">#FFFDF5E6</item>
<item name="LightGoldenrodYellow" type="color">#FFFAFAD2</item>
<item name="Linen" type="color">#FFFAF0E6</item>
<item name="AntiqueWhite" type="color">#FFFAEBD7</item>
<item name="Salmon" type="color">#FFFA8072</item>
<item name="GhostWhite" type="color">#FFF8F8FF</item>
<item name="MintCream" type="color">#FFF5FFFA</item>
<item name="WhiteSmoke" type="color">#FFF5F5F5</item>
<item name="Beige" type="color">#FFF5F5DC</item>
<item name="Wheat" type="color">#FFF5DEB3</item>
<item name="SandyBrown" type="color">#FFF4A460</item>
<item name="Azure" type="color">#FFF0FFFF</item>
<item name="Honeydew" type="color">#FFF0FFF0</item>
<item name="AliceBlue" type="color">#FFF0F8FF</item>
<item name="Khaki" type="color">#FFF0E68C</item>
<item name="LightCoral" type="color">#FFF08080</item>
<item name="PaleGoldenrod" type="color">#FFEEE8AA</item>
<item name="Violet" type="color">#FFEE82EE</item>
<item name="DarkSalmon" type="color">#FFE9967A</item>
<item name="Lavender" type="color">#FFE6E6FA</item>
<item name="LightCyan" type="color">#FFE0FFFF</item>
<item name="BurlyWood" type="color">#FFDEB887</item>
<item name="Plum" type="color">#FFDDA0DD</item>
<item name="Gainsboro" type="color">#FFDCDCDC</item>
<item name="Crimson" type="color">#FFDC143C</item>
<item name="PaleVioletRed" type="color">#FFDB7093</item>
<item name="Goldenrod" type="color">#FFDAA520</item>
<item name="Orchid" type="color">#FFDA70D6</item>
<item name="Thistle" type="color">#FFD8BFD8</item>
<item name="LightGrey" type="color">#FFD3D3D3</item>
<item name="Tan" type="color">#FFD2B48C</item>
<item name="Chocolate" type="color">#FFD2691E</item>
<item name="Peru" type="color">#FFCD853F</item>
<item name="IndianRed" type="color">#FFCD5C5C</item>
<item name="MediumVioletRed" type="color">#FFC71585</item>
<item name="Silver" type="color">#FFC0C0C0</item>
<item name="DarkKhaki" type="color">#FFBDB76B</item>
<item name="RosyBrown" type="color">#FFBC8F8F</item>
<item name="MediumOrchid" type="color">#FFBA55D3</item>
<item name="DarkGoldenrod" type="color">#FFB8860B</item>
<item name="FireBrick" type="color">#FFB22222</item>
<item name="PowderBlue" type="color">#FFB0E0E6</item>
<item name="LightSteelBlue" type="color">#FFB0C4DE</item>
<item name="PaleTurquoise" type="color">#FFAFEEEE</item>
<item name="GreenYellow" type="color">#FFADFF2F</item>
<item name="LightBlue" type="color">#FFADD8E6</item>
<item name="DarkGray" type="color">#FFA9A9A9</item>
<item name="Brown" type="color">#FFA52A2A</item>
<item name="Sienna" type="color">#FFA0522D</item>
<item name="YellowGreen" type="color">#FF9ACD32</item>
<item name="DarkOrchid" type="color">#FF9932CC</item>
<item name="PaleGreen" type="color">#FF98FB98</item>
<item name="DarkViolet" type="color">#FF9400D3</item>
<item name="MediumPurple" type="color">#FF9370DB</item>
<item name="LightGreen" type="color">#FF90EE90</item>
<item name="DarkSeaGreen" type="color">#FF8FBC8F</item>
<item name="SaddleBrown" type="color">#FF8B4513</item>
<item name="DarkMagenta" type="color">#FF8B008B</item>
<item name="DarkRed" type="color">#FF8B0000</item>
<item name="BlueViolet" type="color">#FF8A2BE2</item>
<item name="LightSkyBlue" type="color">#FF87CEFA</item>
<item name="SkyBlue" type="color">#FF87CEEB</item>
<item name="Gray" type="color">#FF808080</item>
<item name="Olive" type="color">#FF808000</item>
<item name="Purple" type="color">#FF800080</item>
<item name="Maroon" type="color">#FF800000</item>
<item name="Aquamarine" type="color">#FF7FFFD4</item>
<item name="Chartreuse" type="color">#FF7FFF00</item>
<item name="LawnGreen" type="color">#FF7CFC00</item>
<item name="MediumSlateBlue" type="color">#FF7B68EE</item>
<item name="LightSlateGray" type="color">#FF778899</item>
<item name="SlateGray" type="color">#FF708090</item>
<item name="OliveDrab" type="color">#FF6B8E23</item>
<item name="SlateBlue" type="color">#FF6A5ACD</item>
<item name="DimGray" type="color">#FF696969</item>
<item name="MediumAquamarine" type="color">#FF66CDAA</item>
<item name="CornflowerBlue" type="color">#FF6495ED</item>
<item name="CadetBlue" type="color">#FF5F9EA0</item>
<item name="DarkOliveGreen" type="color">#FF556B2F</item>
<item name="Indigo" type="color">#FF4B0082</item>
<item name="MediumTurquoise" type="color">#FF48D1CC</item>
<item name="DarkSlateBlue" type="color">#FF483D8B</item>
<item name="SteelBlue" type="color">#FF4682B4</item>
<item name="RoyalBlue" type="color">#FF4169E1</item>
<item name="Turquoise" type="color">#FF40E0D0</item>
<item name="MediumSeaGreen" type="color">#FF3CB371</item>
<item name="LimeGreen" type="color">#FF32CD32</item>
<item name="DarkSlateGray" type="color">#FF2F4F4F</item>
<item name="SeaGreen" type="color">#FF2E8B57</item>
<item name="ForestGreen" type="color">#FF228B22</item>
<item name="LightSeaGreen" type="color">#FF20B2AA</item>
<item name="DodgerBlue" type="color">#FF1E90FF</item>
<item name="MidnightBlue" type="color">#FF191970</item>
<item name="Aqua" type="color">#FF00FFFF</item>
<item name="Cyan" type="color">#FF00FFFF</item>
<item name="SpringGreen" type="color">#FF00FF7F</item>
<item name="Lime" type="color">#FF00FF00</item>
<item name="MediumSpringGreen" type="color">#FF00FA9A</item>
<item name="DarkTurquoise" type="color">#FF00CED1</item>
<item name="DeepSkyBlue" type="color">#FF00BFFF</item>
<item name="DarkCyan" type="color">#FF008B8B</item>
<item name="Teal" type="color">#FF008080</item>
<item name="Green" type="color">#FF008000</item>
<item name="DarkGreen" type="color">#FF006400</item>
<item name="Blue" type="color">#FF0000FF</item>
<item name="MediumBlue" type="color">#FF0000CD</item>
<item name="DarkBlue" type="color">#FF00008B</item>
<item name="Navy" type="color">#FF000080</item>
<item name="Black" type="color">#FF000000</item>
<integer-array name="androidcolors">
<item>@color/White</item>
<item>@color/Ivory</item>
<item>@color/LightYellow</item>
<item>@color/Yellow</item>
<item>@color/Snow</item>
<item>@color/FloralWhite</item>
<item>@color/LemonChiffon</item>
<item>@color/Cornsilk</item>
<item>@color/Seashell</item>
<item>@color/LavenderBlush</item>
<item>@color/PapayaWhip</item>
<item>@color/BlanchedAlmond</item>
<item>@color/MistyRose</item>
<item>@color/Bisque</item>
<item>@color/Moccasin</item>
<item>@color/NavajoWhite</item>
<item>@color/PeachPuff</item>
<item>@color/Gold</item>
<item>@color/Pink</item>
<item>@color/LightPink</item>
<item>@color/Orange</item>
<item>@color/LightSalmon</item>
<item>@color/DarkOrange</item>
<item>@color/Coral</item>
<item>@color/HotPink</item>
<item>@color/Tomato</item>
<item>@color/OrangeRed</item>
<item>@color/DeepPink</item>
<item>@color/Fuchsia</item>
<item>@color/Magenta</item>
<item>@color/Red</item>
<item>@color/OldLace</item>
<item>@color/LightGoldenrodYellow</item>
<item>@color/Linen</item>
<item>@color/AntiqueWhite</item>
<item>@color/Salmon</item>
<item>@color/GhostWhite</item>
<item>@color/MintCream</item>
<item>@color/WhiteSmoke</item>
<item>@color/Beige</item>
<item>@color/Wheat</item>
<item>@color/SandyBrown</item>
<item>@color/Azure</item>
<item>@color/Honeydew</item>
<item>@color/AliceBlue</item>
<item>@color/Khaki</item>
<item>@color/LightCoral</item>
<item>@color/PaleGoldenrod</item>
<item>@color/Violet</item>
<item>@color/DarkSalmon</item>
<item>@color/Lavender</item>
<item>@color/LightCyan</item>
<item>@color/BurlyWood</item>
<item>@color/Plum</item>
<item>@color/Gainsboro</item>
<item>@color/Crimson</item>
<item>@color/PaleVioletRed</item>
<item>@color/Goldenrod</item>
<item>@color/Orchid</item>
<item>@color/Thistle</item>
<item>@color/LightGrey</item>
<item>@color/Tan</item>
<item>@color/Chocolate</item>
<item>@color/Peru</item>
<item>@color/IndianRed</item>
<item>@color/MediumVioletRed</item>
<item>@color/Silver</item>
<item>@color/DarkKhaki</item>
<item>@color/RosyBrown</item>
<item>@color/MediumOrchid</item>
<item>@color/DarkGoldenrod</item>
<item>@color/FireBrick</item>
<item>@color/PowderBlue</item>
<item>@color/LightSteelBlue</item>
<item>@color/PaleTurquoise</item>
<item>@color/GreenYellow</item>
<item>@color/LightBlue</item>
<item>@color/DarkGray</item>
<item>@color/Brown</item>
<item>@color/Sienna</item>
<item>@color/YellowGreen</item>
<item>@color/DarkOrchid</item>
<item>@color/PaleGreen</item>
<item>@color/DarkViolet</item>
<item>@color/MediumPurple</item>
<item>@color/LightGreen</item>
<item>@color/DarkSeaGreen</item>
<item>@color/SaddleBrown</item>
<item>@color/DarkMagenta</item>
<item>@color/DarkRed</item>
<item>@color/BlueViolet</item>
<item>@color/LightSkyBlue</item>
<item>@color/SkyBlue</item>
<item>@color/Gray</item>
<item>@color/Olive</item>
<item>@color/Purple</item>
<item>@color/Maroon</item>
<item>@color/Aquamarine</item>
<item>@color/Chartreuse</item>
<item>@color/LawnGreen</item>
<item>@color/MediumSlateBlue</item>
<item>@color/LightSlateGray</item>
<item>@color/SlateGray</item>
<item>@color/OliveDrab</item>
<item>@color/SlateBlue</item>
<item>@color/DimGray</item>
<item>@color/MediumAquamarine</item>
<item>@color/CornflowerBlue</item>
<item>@color/CadetBlue</item>
<item>@color/DarkOliveGreen</item>
<item>@color/Indigo</item>
<item>@color/MediumTurquoise</item>
<item>@color/DarkSlateBlue</item>
<item>@color/SteelBlue</item>
<item>@color/RoyalBlue</item>
<item>@color/Turquoise</item>
<item>@color/MediumSeaGreen</item>
<item>@color/LimeGreen</item>
<item>@color/DarkSlateGray</item>
<item>@color/SeaGreen</item>
<item>@color/ForestGreen</item>
<item>@color/LightSeaGreen</item>
<item>@color/DodgerBlue</item>
<item>@color/MidnightBlue</item>
<item>@color/Aqua</item>
<item>@color/Cyan</item>
<item>@color/SpringGreen</item>
<item>@color/Lime</item>
<item>@color/MediumSpringGreen</item>
<item>@color/DarkTurquoise</item>
<item>@color/DeepSkyBlue</item>
<item>@color/DarkCyan</item>
<item>@color/Teal</item>
<item>@color/Green</item>
<item>@color/DarkGreen</item>
<item>@color/Blue</item>
<item>@color/MediumBlue</item>
<item>@color/DarkBlue</item>
<item>@color/Navy</item>
<item>@color/Black</item>
</integer-array>
</resources>
现在你肯定已经做出了自己的,但是为了其他人的利益,请在下面找到w3c和x11。
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="white">#FFFFFF</color>
<color name="yellow">#FFFF00</color>
<color name="fuchsia">#FF00FF</color>
<color name="red">#FF0000</color>
<color name="silver">#C0C0C0</color>
<color name="gray">#808080</color>
<color name="olive">#808000</color>
<color name="purple">#800080</color>
<color name="maroon">#800000</color>
<color name="aqua">#00FFFF</color>
<color name="lime">#00FF00</color>
<color name="teal">#008080</color>
<color name="green">#008000</color>
<color name="blue">#0000FF</color>
<color name="navy">#000080</color>
<color name="black">#000000</color>
</resources>
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="White">#FFFFFF</color>
<color name="Ivory">#FFFFF0</color>
<color name="LightYellow">#FFFFE0</color>
<color name="Yellow">#FFFF00</color>
<color name="Snow">#FFFAFA</color>
<color name="FloralWhite">#FFFAF0</color>
<color name="LemonChiffon">#FFFACD</color>
<color name="Cornsilk">#FFF8DC</color>
<color name="Seashell">#FFF5EE</color>
<color name="LavenderBlush">#FFF0F5</color>
<color name="PapayaWhip">#FFEFD5</color>
<color name="BlanchedAlmond">#FFEBCD</color>
<color name="MistyRose">#FFE4E1</color>
<color name="Bisque">#FFE4C4</color>
<color name="Moccasin">#FFE4B5</color>
<color name="NavajoWhite">#FFDEAD</color>
<color name="PeachPuff">#FFDAB9</color>
<color name="Gold">#FFD700</color>
<color name="Pink">#FFC0CB</color>
<color name="LightPink">#FFB6C1</color>
<color name="Orange">#FFA500</color>
<color name="LightSalmon">#FFA07A</color>
<color name="DarkOrange">#FF8C00</color>
<color name="Coral">#FF7F50</color>
<color name="HotPink">#FF69B4</color>
<color name="Tomato">#FF6347</color>
<color name="OrangeRed">#FF4500</color>
<color name="DeepPink">#FF1493</color>
<color name="Fuchsia">#FF00FF</color>
<color name="Magenta">#FF00FF</color>
<color name="Red">#FF0000</color>
<color name="OldLace">#FDF5E6</color>
<color name="LightGoldenrodYellow">#FAFAD2</color>
<color name="Linen">#FAF0E6</color>
<color name="AntiqueWhite">#FAEBD7</color>
<color name="Salmon">#FA8072</color>
<color name="GhostWhite">#F8F8FF</color>
<color name="MintCream">#F5FFFA</color>
<color name="WhiteSmoke">#F5F5F5</color>
<color name="Beige">#F5F5DC</color>
<color name="Wheat">#F5DEB3</color>
<color name="SandyBrown">#F4A460</color>
<color name="Azure">#F0FFFF</color>
<color name="Honeydew">#F0FFF0</color>
<color name="AliceBlue">#F0F8FF</color>
<color name="Khaki">#F0E68C</color>
<color name="LightCoral">#F08080</color>
<color name="PaleGoldenrod">#EEE8AA</color>
<color name="Violet">#EE82EE</color>
<color name="DarkSalmon">#E9967A</color>
<color name="Lavender">#E6E6FA</color>
<color name="LightCyan">#E0FFFF</color>
<color name="BurlyWood">#DEB887</color>
<color name="Plum">#DDA0DD</color>
<color name="Gainsboro">#DCDCDC</color>
<color name="Crimson">#DC143C</color>
<color name="PaleVioletRed">#DB7093</color>
<color name="Goldenrod">#DAA520</color>
<color name="Orchid">#DA70D6</color>
<color name="Thistle">#D8BFD8</color>
<color name="LightGrey">#D3D3D3</color>
<color name="Tan">#D2B48C</color>
<color name="Chocolate">#D2691E</color>
<color name="Peru">#CD853F</color>
<color name="IndianRed">#CD5C5C</color>
<color name="MediumVioletRed">#C71585</color>
<color name="Silver">#C0C0C0</color>
<color name="DarkKhaki">#BDB76B</color>
<color name="RosyBrown">#BC8F8F</color>
<color name="MediumOrchid">#BA55D3</color>
<color name="DarkGoldenrod">#B8860B</color>
<color name="FireBrick">#B22222</color>
<color name="PowderBlue">#B0E0E6</color>
<color name="LightSteelBlue">#B0C4DE</color>
<color name="PaleTurquoise">#AFEEEE</color>
<color name="GreenYellow">#ADFF2F</color>
<color name="LightBlue">#ADD8E6</color>
<color name="DarkGray">#A9A9A9</color>
<color name="Brown">#A52A2A</color>
<color name="Sienna">#A0522D</color>
<color name="YellowGreen">#9ACD32</color>
<color name="DarkOrchid">#9932CC</color>
<color name="PaleGreen">#98FB98</color>
<color name="DarkViolet">#9400D3</color>
<color name="MediumPurple">#9370DB</color>
<color name="LightGreen">#90EE90</color>
<color name="DarkSeaGreen">#8FBC8F</color>
<color name="SaddleBrown">#8B4513</color>
<color name="DarkMagenta">#8B008B</color>
<color name="DarkRed">#8B0000</color>
<color name="BlueViolet">#8A2BE2</color>
<color name="LightSkyBlue">#87CEFA</color>
<color name="SkyBlue">#87CEEB</color>
<color name="Gray">#808080</color>
<color name="Olive">#808000</color>
<color name="Purple">#800080</color>
<color name="Maroon">#800000</color>
<color name="Aquamarine">#7FFFD4</color>
<color name="Chartreuse">#7FFF00</color>
<color name="LawnGreen">#7CFC00</color>
<color name="MediumSlateBlue">#7B68EE</color>
<color name="LightSlateGray">#778899</color>
<color name="SlateGray">#708090</color>
<color name="OliveDrab">#6B8E23</color>
<color name="SlateBlue">#6A5ACD</color>
<color name="DimGray">#696969</color>
<color name="MediumAquamarine">#66CDAA</color>
<color name="CornflowerBlue">#6495ED</color>
<color name="CadetBlue">#5F9EA0</color>
<color name="DarkOliveGreen">#556B2F</color>
<color name="Indigo">#4B0082</color>
<color name="MediumTurquoise">#48D1CC</color>
<color name="DarkSlateBlue">#483D8B</color>
<color name="SteelBlue">#4682B4</color>
<color name="RoyalBlue">#4169E1</color>
<color name="Turquoise">#40E0D0</color>
<color name="MediumSeaGreen">#3CB371</color>
<color name="LimeGreen">#32CD32</color>
<color name="DarkSlateGray">#2F4F4F</color>
<color name="SeaGreen">#2E8B57</color>
<color name="ForestGreen">#228B22</color>
<color name="LightSeaGreen">#20B2AA</color>
<color name="DodgerBlue">#1E90FF</color>
<color name="MidnightBlue">#191970</color>
<color name="Aqua">#00FFFF</color>
<color name="Cyan">#00FFFF</color>
<color name="SpringGreen">#00FF7F</color>
<color name="Lime">#00FF00</color>
<color name="MediumSpringGreen">#00FA9A</color>
<color name="DarkTurquoise">#00CED1</color>
<color name="DeepSkyBlue">#00BFFF</color>
<color name="DarkCyan">#008B8B</color>
<color name="Teal">#008080</color>
<color name="Green">#008000</color>
<color name="DarkGreen">#006400</color>
<color name="Blue">#0000FF</color>
<color name="MediumBlue">#0000CD</color>
<color name="DarkBlue">#00008B</color>
<color name="Navy">#000080</color>
<color name="Black">#000000</color>
</resources>