下圖是幫助文檔中的關於Android界面開發的推薦色值,大家可以參考一下:
補充一些常用的顏色值:
<?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="lightgray">#d3d3d3</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="darkgrey">#a9a9a9</color><!--暗灰色 -->
<color name="brown">#a52a2a</color><!--褐色 -->
<color name="sienna">#a0522d</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="grey">#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="lightslategrey">#778899</color><!--亮藍灰 -->
<color name="slategray">#708090</color><!--灰石色 -->
<color name="slategrey">#708090</color><!--灰石色 -->
<color name="olivedrab">#6b8e23</color><!--深綠褐色 -->
<color name="slateblue">#6a5acd</color><!--石藍色 -->
<color name="dimgray">#696969</color><!--暗灰色 -->
<color name="dimgrey">#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="darkslategrey">#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>