在 Android开发中,菜鸟也是和我一样水平的人,都会对颜色非常无奈。所以我们最好电脑里有一份比较全的颜色对比表。
我在这里粘贴一份来自其他人的,供大家使用。
<?xml version="1.0"encoding="utf-8" ?>
<resources>
<colorname="white">#FFFFFF</color><!--白色 -->
<colorname="ivory">#FFFFF0</color><!--象牙色 -->
<colorname="lightyellow">#FFFFE0</color><!--亮黄色 -->
<colorname="yellow">#FFFF00</color><!--黄色 -->
<color name="snow">#FFFAFA</color><!--雪白色 -->
<colorname="floralwhite">#FFFAF0</color><!--花白色 -->
<colorname="lemonchiffon">#FFFACD</color><!--柠檬绸色 -->
<colorname="cornsilk">#FFF8DC</color><!--米绸色 -->
<colorname="seashell">#FFF5EE</color><!--海贝色 -->
<color name="lavenderblush">#FFF0F5</color><!--淡紫红 -->
<colorname="papayawhip">#FFEFD5</color><!--番木色 -->
<colorname="blanchedalmond">#FFEBCD</color><!--白杏色 -->
<colorname="mistyrose">#FFE4E1</color><!--浅玫瑰色 -->
<colorname="bisque">#FFE4C4</color><!--桔黄色 -->
<colorname="moccasin">#FFE4B5</color><!--鹿皮色 -->
<colorname="navajowhite">#FFDEAD</color><!--纳瓦白 -->
<colorname="peachpuff">#FFDAB9</color><!--桃色 -->
<colorname="gold">#FFD700</color><!--金色 -->
<colorname="pink">#FFC0CB</color><!--粉红色 -->
<color name="lightpink">#FFB6C1</color><!--亮粉红色 -->
<colorname="orange">#FFA500</color><!--橙色 -->
<colorname="lightsalmon">#FFA07A</color><!--亮肉色 -->
<colorname="darkorange">#FF8C00</color><!--暗桔黄色 -->
<colorname="coral">#FF7F50</color><!--珊瑚色 -->
<color name="hotpink">#FF69B4</color><!--热粉红色 -->
<colorname="tomato">#FF6347</color><!--西红柿色 -->
<colorname="orangered">#FF4500</color><!--红橙色 -->
<colorname="deeppink">#FF1493</color><!--深粉红色 -->
<colorname="fuchsia">#FF00FF</color><!--紫红色 -->
<color name="magenta">#FF00FF</color><!--红紫色 -->
<colorname="red">#FF0000</color><!--红色 -->
<colorname="oldlace">#FDF5E6</color><!--老花色 -->
<colorname="lightgoldenrodyellow">#FAFAD2</color><!--亮金黄色 -->
<colorname="linen">#FAF0E6</color><!--亚麻色 -->
<color name="antiquewhite">#FAEBD7</color><!--古董白 -->
<colorname="salmon">#FA8072</color><!--鲜肉色 -->
<colorname="ghostwhite">#F8F8FF</color><!--幽灵白 -->
<colorname="mintcream">#F5FFFA</color><!--薄荷色 -->
<colorname="whitesmoke">#F5F5F5</color><!--烟白色 -->
<color name="beige">#F5F5DC</color><!--米色 -->
<colorname="wheat">#F5DEB3</color><!--浅黄色 -->
<colorname="sandybrown">#F4A460</color><!--沙褐色 -->
<colorname="azure">#F0FFFF</color><!--天蓝色 -->
<colorname="honeydew">#F0FFF0</color><!--蜜色 -->
<colorname="aliceblue">#F0F8FF</color><!--艾利斯兰 -->
<colorname="khaki">#F0E68C</color><!--黄褐色 -->
<colorname="lightcoral">#F08080</color><!--亮珊瑚色 -->
<colorname="palegoldenrod">#EEE8AA</color><!--苍麒麟色 -->
<colorname="violet">#EE82EE</color><!--紫罗兰色 -->
<colorname="darksalmon">#E9967A</color><!--暗肉色 -->
<colorname="lavender">#E6E6FA</color><!--淡紫色 -->
<colorname="lightcyan">#E0FFFF</color><!--亮青色 -->
<colorname="burlywood">#DEB887</color><!--实木色 -->
<colorname="plum">#DDA0DD</color><!--洋李色 -->
<colorname="gainsboro">#DCDCDC</color><!--淡灰色 -->
<colorname="crimson">#DC143C</color><!--暗深红色 -->
<colorname="palevioletred">#DB7093</color><!--苍紫罗兰色 -->
<colorname="goldenrod">#DAA520</color><!--金麒麟色 -->
<colorname="orchid">#DA70D6</color><!--淡紫色 -->
<colorname="thistle">#D8BFD8</color><!--蓟色 -->
<colorname="lightgray">#D3D3D3</color><!--亮灰色 -->
<colorname="lightgrey">#D3D3D3</color><!--亮灰色 -->
<colorname="tan">#D2B48C</color><!--茶色 -->
<colorname="chocolate">#D2691E</color><!--巧可力色 -->
<colorname="peru">#CD853F</color><!--秘鲁色 -->
<color name="indianred">#CD5C5C</color><!--印第安红 -->
<colorname="mediumvioletred">#C71585</color><!--中紫罗兰色 -->
<colorname="silver">#C0C0C0</color><!--银色 -->
<colorname="darkkhaki">#BDB76B</color><!--暗黄褐色 -->
<colorname="rosybrown">#BC8F8F</color><!--褐玫瑰红 -->
<colorname="mediumorchid">#BA55D3</color><!--中粉紫色 -->
<colorname="darkgoldenrod">#B8860B</color><!--暗金黄色 -->
<colorname="firebrick">#B22222</color><!--火砖色 -->
<colorname="powderblue">#B0E0E6</color><!--粉蓝色 -->
<colorname="lightsteelblue">#B0C4DE</color><!--亮钢兰色 -->
<colorname="paleturquoise">#AFEEEE</color><!--苍宝石绿 -->
<colorname="greenyellow">#ADFF2F</color><!--黄绿色 -->
<colorname="lightblue">#ADD8E6</color><!--亮蓝色 -->
<colorname="darkgray">#A9A9A9</color><!--暗灰色 -->
<colorname="darkgrey">#A9A9A9</color><!--暗灰色 -->
<colorname="brown">#A52A2A</color><!--褐色 -->
<colorname="sienna">#A0522D</color><!--赭色 -->
<colorname="darkorchid">#9932CC</color><!--暗紫色 -->
<colorname="palegreen">#98FB98</color><!--苍绿色 -->
<colorname="darkviolet">#9400D3</color><!--暗紫罗兰色 -->
<colorname="mediumpurple">#9370DB</color><!--中紫色 -->
<colorname="lightgreen">#90EE90</color><!--亮绿色 -->
<colorname="darkseagreen">#8FBC8F</color><!--暗海兰色 -->
<colorname="saddlebrown">#8B4513</color><!--重褐色 -->
<color name="darkmagenta">#8B008B</color><!--暗洋红 -->
<colorname="darkred">#8B0000</color><!--暗红色 -->
<colorname="blueviolet">#8A2BE2</color><!--紫罗兰蓝色 -->
<colorname="lightskyblue">#87CEFA</color><!--亮天蓝色 -->
<colorname="skyblue">#87CEEB</color><!--天蓝色 -->
<color name="gray">#808080</color><!--灰色 -->
<colorname="grey">#808080</color><!--灰色 -->
<colorname="olive">#808000</color><!--橄榄色 -->
<colorname="purple">#800080</color><!--紫色 -->
<colorname="maroon">#800000</color><!--粟色 -->
<colorname="aquamarine">#7FFFD4</color><!--碧绿色 -->
<colorname="chartreuse">#7FFF00</color><!--黄绿色 -->
<colorname="lawngreen">#7CFC00</color><!--草绿色 -->
<colorname="mediumslateblue">#7B68EE</color><!--中暗蓝色 -->
<colorname="lightslategray">#778899</color><!--亮蓝灰 -->
<colorname="lightslategrey">#778899</color><!--亮蓝灰 -->
<colorname="slategray">#708090</color><!--灰石色 -->
<colorname="slategrey">#708090</color><!--灰石色 -->
<colorname="olivedrab">#6B8E23</color><!--深绿褐色 -->
<colorname="slateblue">#6A5ACD</color><!--石蓝色 -->
<colorname="dimgray">#696969</color><!--暗灰色 -->
<colorname="dimgrey">#696969</color><!--暗灰色 -->
<colorname="mediumaquamarine">#66CDAA</color><!--中绿色 -->
<colorname="cornflowerblue">#6495ED</color><!--菊兰色 -->
<colorname="cadetblue">#5F9EA0</color><!--军兰色 -->
<color name="darkolivegreen">#556B2F</color><!--暗橄榄绿 -->
<colorname="indigo">#4B0082</color><!--靛青色 -->
<colorname="mediumturquoise">#48D1CC</color><!--中绿宝石 -->
<colorname="darkslateblue">#483D8B</color><!--暗灰蓝色 -->
<colorname="steelblue">#4682B4</color><!--钢兰色 -->
<colorname="royalblue">#4169E1</color><!--皇家蓝 -->
<colorname="turquoise">#40E0D0</color><!--青绿色 -->
<colorname="mediumseagreen">#3CB371</color><!--中海蓝 -->
<colorname="limegreen">#32CD32</color><!--橙绿色 -->
<colorname="darkslategray">#2F4F4F</color><!--暗瓦灰色 -->
<colorname="darkslategrey">#2F4F4F</color><!--暗瓦灰色 -->
<colorname="seagreen">#2E8B57</color><!--海绿色 -->
<colorname="forestgreen">#228B22</color><!--森林绿 -->
<colorname="lightseagreen">#20B2AA</color><!--亮海蓝色 -->
<color name="dodgerblue">#1E90FF</color><!--闪兰色 -->
<colorname="midnightblue">#191970</color><!--中灰兰色 -->
<colorname="aqua">#00FFFF</color><!--浅绿色 -->
<colorname="cyan">#00FFFF</color><!--青色 -->
<colorname="springgreen">#00FF7F</color><!--春绿色 -->
<colorname="lime">#00FF00</color><!--酸橙色 -->
<colorname="mediumspringgreen">#00FA9A</color><!--中春绿色 -->
<colorname="darkturquoise">#00CED1</color><!--暗宝石绿 -->
<colorname="deepskyblue">#00BFFF</color><!--深天蓝色 -->
<colorname="darkcyan">#008B8B</color><!--暗青色 -->
<color name="teal">#008080</color><!--水鸭色 -->
<colorname="green">#008000</color><!--绿色 -->
<colorname="darkgreen">#006400</color><!--暗绿色 -->
<colorname="blue">#0000FF</color><!--蓝色 -->
<colorname="mediumblue">#0000CD</color><!--中兰色 -->
<colorname="darkblue">#00008B</color><!--暗蓝色 -->
<colorname="navy">#000080</color><!--海军色 -->
<colorname="black">#000000</color><!--黑色 -->
</resources>