android 颜色大全
颜色RGB对照表(所有颜色大全)
■RGB(255,192,203)■★●◆pink(粉红)■RGB(220,20,60)■★●◆crimson(腥红)■RGB(255,240,245)■★●◆lavenderblush(苍白的紫罗兰红)■RGB(219,112,147)■★●◆palevioletred(脸红的淡紫红)■RGB(255,105,180)■★●◆hotpink(热情的粉红)■RGB(199,21,133)■★●◆mediumvioletred(适中的紫罗兰红)■RGB(218,112,214)■★●◆orchid(兰花紫)■RGB(216,191,216)■★●◆thistle(苍紫)■RGB(221,160,221)■★●◆plum(轻紫)■RGB(238,130,238)■★●◆violet(紫罗兰)■RGB(255,0,255)■★●◆magenta(洋紫)■RGB(255,0,255)■★●◆fuchsia(紫红)■RGB(139,0,139)■★●◆darkmagenta(深洋紫)■RGB(128,0,128)■★●◆purple(紫)■RGB(186,85,211)■★●◆mediumorchid(适中的兰花紫)■RGB(148,0,211)■★●◆darkviolet(深紫罗兰)■RGB(75,0,130)■★●◆indigo(靓青)■RGB(138,43,226)■★●◆blueviolet(蓝紫罗兰)■RGB(147,112,219)■★●◆mediumpurple(适中的紫)■RGB(123,104,238)■★●◆mediumslateblue(适中的的板岩蓝)■RGB(106,90,205)■★●◆slateblue(板岩蓝)■RGB(72,61,139)■★●◆darkslateblue(深板岩蓝)■RGB(230,230,250)■★●◆lavender(熏衣草花的淡紫)■RGB(248,248,255)■★●◆ghostwhite(幽灵白)■RGB(0,0,255)■★●◆blue(蓝)■RGB(0,0,205)■★●◆mediumblue(适中的蓝)■RGB(25,25,112)■★●◆midnightblue(午夜蓝)■RGB(0,0,139)■★●◆darkblue(深蓝)■RGB(0,0,128)■★●◆navy(海军蓝)■RGB(65,105,225)■★●◆royalblue(皇家蓝)■RGB(100,149,237)■★●◆cornflowerblue(矢车菊蓝)■RGB(176,196,222)■★●◆lightsteelblue(淡钢蓝)■RGB(119,136,153)■★●◆lightslategray(浅石板灰)■RGB(112,128,144)■★●◆slategray(石板灰)■RGB(30,144,255)■★●◆dodgerblue(道奇蓝)■RGB(240,248,255)■★●◆aliceblue(爱丽丝蓝)■RGB(70,130,180)■★●◆steelblue(钢蓝)■RGB(135,206,250)■★●◆lightskyblue(淡天蓝)■RGB(135,206,235)■★●◆skyblue(天蓝)■RGB(0,191,255)■★●◆deepskyblue(深天蓝)■RGB(173,216,230)■★●◆lightblue(淡蓝)■RGB(176,224,230)■★●◆powderblue(火药蓝)■RGB(95,158,160)■★●◆cadetblue(军校蓝)■RGB(240,255,255)■★●◆azure(蔚蓝)■RGB(224,255,255)■★●◆lightcyan(淡青)■RGB(175,238,238)■★●◆paleturquoise(苍白的宝石绿)■RGB(0,255,255)■★●◆cyan(青)■RGB(0,255,255)■★●◆aqua(水绿)■RGB(0,206,209)■★●◆darkturquoise(深宝石绿)■RGB(47,79,79)■★●◆darkslategray(深石板灰)■RGB(0,139,139)■★●◆darkcyan(深青色)■RGB(0,128,128)■★●◆teal(水鸭色)■RGB(72,209,204)■★●◆mediumturquoise(适中的宝石绿)■RGB(32,178,170)■★●◆lightseagreen(浅海洋绿)■RGB(64,224,208)■★●◆turquoise(宝石绿)■RGB(127,255,212)■★●◆aquamarine(碧绿)■RGB(102,205,170)■★●◆mediumaquamarine(适中的碧绿)■RGB(0,250,154)■★●◆mediumspringgreen(适中的春天绿)■RGB(245,255,250)■★●◆mintcream(薄荷奶油)■RGB(0,255,127)■★●◆springgreen(春天绿)■RGB(60,179,113)■★●◆mediumseagreen(适中的海洋绿)■RGB(46,139,87)■★●◆seagreen(海洋绿)■RGB(240,255,240)■★●◆honeydew(浅粉红)■RGB(144,238,144)■★●◆lightgreen(浅绿)■RGB(152,251,152)■★●◆palegreen(苍白绿)■RGB(143,188,143)■★●◆darkseagreen(深海洋绿)■RGB(50,205,50)■★●◆limegreen(柠檬绿)■RGB(0,255,0)■★●◆lime(柠檬)■RGB(34,139,34)■★●◆forestgreen(森林绿)■RGB(127,255,0)■★●◆chartreuse(查特酒绿)■RGB(124,252,0)■★●◆lawngreen(草坪绿)■RGB(173,255,47)■★●◆greenyellow(绿黄)■RGB(85,107,47)■★●◆darkolivegreen(深橄榄绿)■RGB(154,205,50)■★●◆yellowgreen(黄绿)■RGB(107,142,35)■★●◆olivedrab(橄榄褐)■RGB(245,245,220)■★●◆beige(米色)■RGB(250,250,210)■★●◆lightgoldenrodyellow(浅秋黄)■RGB(255,255,240)■★●◆ivory(象牙白)■RGB(255,255,224)■★●◆lightyellow(浅黄)■RGB(255,255,0)■★●◆yellow(黄)■RGB(128,128,0)■★●◆olive(橄榄)■RGB(189,183,107)■★●◆darkkhaki(深卡其布)■RGB(255,250,205)■★●◆lemonchiffon(柠檬沙)■RGB(238,232,170)■★●◆palegoldenrod(灰秋)■RGB(240,230,140)■★●◆khaki(卡其布)■RGB(255,215,0)■★●◆gold(金)■RGB(255,248,220)■★●◆cornsilk(玉米)■RGB(218,165,32)■★●◆goldenrod(秋)■RGB(184,134,11)■★●◆darkgoldenrod(深秋)■RGB(255,250,240)■★ ●◆ floralwhite(白花)■RGB(253,245,230)■★●◆oldlace(浅米色)■RGB(245,222,179)■★●◆wheat(小麦)■RGB(255,228,181)■★●◆moccasin(鹿皮)■RGB(255,165,0)■★●◆orange(橙)■RGB(255,239,213)■★●◆papayawhip(木瓜)■RGB(255,235,205)■★●◆blanchedalmond(漂白后的杏仁)■RGB(255,222,173)■★●◆navajowhite(耐而节白)■RGB(250,235,215)■★●◆antiquewhite(古白)■RGB(210,180,140)■★●◆tan(晒)■RGB(222,184,135)■★●◆burlywood(树干)■RGB(255,228,196)■★●◆bisque(乳脂)■RGB(255,140,0)■★●◆darkorange(深橙色)■RGB(250,240,230)■★●◆linen(亚麻)■RGB(205,133,63)■★●◆peru(秘鲁)■RGB(244,164,96)■★●◆sandybrown(沙棕)■RGB(210,105,30)■★●◆chocolate(巧克力)■RGB(192,14,235)■★●◆chocolatesaddlebrown(马鞍棕)■RGB(255,245,238)■★●◆seashell(海贝)■RGB(160,82,45)■★●◆sienna(土黄赭)■RGB(255,160,122)■★●◆lightsalmon(浅肉)■RGB(255,127,80)■★●◆coral(珊瑚)■RGB(255,69,0)■★●◆orangered(橙红)■RGB(255,99,71)■★●◆tomato(番茄色)■RGB(255,228,225)■★●◆mistyrose(雾中玫瑰)■RGB(250,128,114)■★●◆salmon(肉)■RGB(255,250,250)■★●◆snow(雪)■RGB(240,128,128)■★●◆lightcoral(浅珊瑚)■RGB(188,143,143)■★●◆rosybrown(玫瑰棕)■RGB(205,92,92)■★●◆indianred(浅粉红)■RGB(255,0,0)■★●◆red(红)■RGB(165,42,42)■★●◆brown(棕)■RGB(178,34,34)■★●◆firebrick(火砖)■RGB(139,0,0)■★●◆darkred(深红)■RGB(128,0,0)■★●◆maroon(粟色)■RGB(255,255,255)■★●◆white(白)■RGB(245,245,245)■★●◆whitesmoke(烟白)■RGB(220,220,220)■★●◆gainsboro(赶死部落)■RGB(211,211,211)■★●◆lightgrey(浅灰)■RGB(192,192,192)■★●◆silver(银白)■RGB(169,169,169)■★●◆darkgray(深灰)■RGB(105,105,105)■★●◆dimgray(暗灰)■RGB(0,0,0)■★●◆black(黑)。
Android 字体颜色总结
Android 字体颜色总结:绿色分类:苍绿色:#98FB98亮绿色:#90EE90碧绿色:#7FFFD4黄绿色:#7FFF00暗橄榄绿:#556B2F靛青色:#4B0082青绿色:#40E0D0暗青色:#008B8B森林绿:#2E8B57中春绿色:#00FA9A中绿宝石:#48D1CC暗宝石绿:#00CED1暗瓦灰色:#2F4F4F水鸭色: #008080蓝色分类:皇家蓝:#4169E1钢兰色:#4682B4中海蓝:#3CB371石兰色:#6A5ACD天蓝色; #87CEEB亮天蓝色:#87CEFA深天蓝色:#00BFFF 暗蓝色:#00008B闪兰色:#1E90FF亮海蓝色:#20B2AA 海军色:#000080军蓝色:#5F9EA0菊兰色:#6495ED中兰色:#0000CD中灰蓝色:#191970暗紫罗兰色:#9400D3紫罗兰蓝色:#8A2BE2暗海蓝色:#8FBC8F橙色分类:橙色:#FFA500橙绿色:#32CD32灰石色:#708090亮蓝灰:#778899暗桔黄色:#FF8C00珊瑚色:#FF7F50赭色:#A0522D栗色:#800000褐色:#A52A2A中粉紫色:#BA55D3中紫色:#9370DB 亮肉色:紫色:#800080暗紫色:#9932CC橄榄色:#808000 红色分类褐玫瑰红:#BC8F8F红橙色:#FF4500热粉红色:#FF69B4西红柿色:#FF6347暗红色:8B0000暗洋红:#8B008B重褐色:#8B4513 浅玫瑰色:#FFE4E1 番木色:#FFEFD5 黄色分类:桔黄色:#FFE4C4鹿皮色:#FFE4B5桃色:#FFDAB9金色:#FFD700粉红色:#FFC0CB亮粉红色:#FFB6C1亮肉色:#FFA07A金麒麟色:#DAA520亮珊瑚色:#fo8080苍麒麟色:#EEE8AA紫罗兰色:#EE82EE中紫罗兰色:#C71585亮青色:#E0FFFF蓟色:#D8BFD8茶色:#D2B48C巧克力色:#D2691E秘鲁色:#CD853F印第安红:#CD5C5C银色:#C0C0C0暗黄褐色:#BDB76B暗金黄色:#B8860B红砖色:#B22222粉蓝色:#B0E0E6亮刚蓝色:#B0C4DE苍宝石绿:#AFEEEE。
020Android常用颜色对应表
020Android常⽤颜⾊对应表1.Android colors.xml常⽤颜⾊汇总<?xml version="1.0" encoding="utf-8"?><resources><color name="colorPrimary">#008577</color><color name="colorPrimaryDark">#00574B</color><color name="colorAccent">#D81B60</color><!--1.红⾊--><color name="red">#FF0000</color><!--2.橙⾊--><color name="orange">#FFA500</color><!--3.黄⾊--><color name="yellow">#FFFF00</color><!--4.绿⾊--><color name="green">#008000</color><!--5.青⾊--><color name="cyan">#008B8B</color><!--6.蓝⾊--><color name="blue">#0000FF</color><!--7.紫⾊--><color name="purple">#800080</color><!--8.灰⾊--><color name="gray">#808080</color><!--9.粉⾊--><color name="pink">#FFC0CB</color><!--10.⽩⾊--><color name="white">#FFFFFF</color></resources>2.⼀般常⽤颜⾊表:#6B8E23olivedrab#FFFF00yellow#808080gray#008000green#EE82EE violet#FFC0CB pink#4682B4steelblue#FFFF93#800080purple#A52A2A brown#CC0000#800000maroon#FF8282#000000black#8080FF#8080C0#FFA500orange#FFFFFF white ■其他常⽤颜⾊表:#F0F8FF aliceblue#FF6C6C#7FFFD4aquamarine#F0FFFF azure#F5F5DC beige#FFE4C4bisque#000000black#FFEBCD blanchedalmond#0000FF blue#8A2BE2blueviolet#A52A2A brown#DEB887burlywood#5F9EA0cadetblue#7FFF00chartreuse#D2691E chocolate#FF7F50coral#A9A9A9darkgray#FFF8DC cornsilk#008B8B darkcyan#00008B darkblue#B8860B darkgoldenrod#006400darkgreen#FF1493deeppink#8B008B darkmagenta#556B2F darkolivegreen#1E90FF dodgerblue#9932CC darkorchid#8B0000darkred#E9967A darksalmon#8FBC8F darkseagreen#483D8B darkslateblue#2F4F4F darkslategray#00CED1darkturquoise#9400D3darkviolet#00CED1darkturquoise#9400D3darkviolet#228B22forestgreen#FFFAF0floralwhite#696969dimgray#DCDCDC gainsboro#B22222firebrick#00BFFF deepskyblue#008000green#FFD700gold#F0FFF0honeydew#808080gray#CD5C5C indianred#ADFF2F greenyellow#F0E68C khaki#FF69B4hotpink#E0FFFF lightcyan#FFFFF0ivory#90EE90lightgreen#E6E6FA lavender#FFF0F5lavenderblush#7CFC00lawngreen#FFFACD lemonchiffon#ADD8E6lightblue#F08080lightcoral#D3D3D3lightgrey#FFB6C1lightpink#87CEFA lightskyblue#20B2AA lightseagreen#FFA07A lightsalmon#B0C4DE lightsteelblue#778899lightslategray#32CD32limegreen#FFFFE0lightyellow#F5FFFA mintcream#FAF0E6linen#FFE4B5moccasin#48D1CC mediumturquoise #FF00FF magenta#800000maroon#66CDAA mediumaquamarine#0000CD mediumblue#BA55D3mediumorchid#C71585mediumvioletred #3CB371mediumseagreen#7B68EE mediumslateblue #00FA9A mediumspringgreen#FFE4E1mistyrose#FFDEAD navajowhite#191970midnightblue#000080navy#808000olive#FDF5E6oldlace#6B8E23olivedrab#FFA500orange#DA70D6orchid#98FB98palegreen#AFEEEE paleturquoise#DB7093palevioletred#FFEFD5papayawhip#FFDAB9peachpuff#CD853F peru#FFC0CB pink#DDA0DD plum#B0E0E6powderblue#800080purple#FF0000red#BC8F8F rosybrown#4169E1royalblue#8B4513saddlebrown#FA8072salmon#F4A460sandybrown#2E8B57seagreen#FFF5EE seashell#A0522D sienna#87CEEB skyblue#6A5ACD slateblue#708090slategray#FFFAFA snow#00FF7F springgreen#4682B4steelblue#D2B48C tan#C0C0C0silver#008080teal#D8BFD8thistle#FF6347tomato#40E0D0turquoise#EE82EE violet#F5F5F5whitesmoke#F5DEB3wheat#FFFF00yellow#9ACD32yellowgreen。
android中各种颜色的八进制表示
Android开发:setAlpha()方法和常用RGB颜色表----颜色, r gb分量数值(int), 16进制表示一一对应分类:Android开发2013-02-15 11:07 10640人阅读评论(3) 收藏举报杂家前文Android颜色对应表只有颜色和十六进制,有时候需要设置r g b分量的int值,如paint.setARGB(255, 127, 255, 212);就需要自己计算下分量的各个值。
这里提供一个带有r g b分量的int型的颜色表。
注意paint.setAlpha()及paint.setARGB()的第一个参数,即透明度。
其取值范围是0---255,数值越小,越透明,颜色上表现越淡。
实际上当设成10以下就会有透明的效果了。
注意:这个透明度是用来设置画笔paint的透明度,然后用paint画各种东西。
常用RGB颜色表R G B值R G B值R G B值000#000000黄色2552550#FFFF00浅灰蓝色176224230#B0E0E6 413633#292421香蕉色22720787#E3CF57品蓝65105225#4169E1 192192192#C0C0C0镉黄25515318#FF9912石板蓝10690205#6A5ACD 128138135#808A87dougello23514285#EB8E55天蓝135206235#87CEEB 112128105#708069forum gold255227132#FFE384128128105#808069金黄色2552150#FFD700青色0255255#00FFFF黄花色218165105#DAA569569415#385E0F 白色255255255#FFFFFF瓜色227168105#E3A86984684#082E54古董白250235215#FAEBD7橙色255970#FF6100碧绿色127255212#7FFFD4天蓝色240255255#F0FFFF镉橙255973#FF6103青绿色64224208#40E0D0白烟245245245#F5F5F5胡萝卜色23714533#ED9121绿色02550#00FF00白杏仁255235205#FFFFCD桔黄2551280#FF8000黄绿色1272550#7FFF00 cornsilk255248220#FFF8DC淡黄色245222179#F5DEB36114564#3D9140蛋壳色252230201#FCE6C9翠绿色020187#00C957花白255250240#FFFAF01284242#802A2A3413934#228B22 gainsboro220220220#DCDCDC米色163148128#A39480草地绿1242520#7CFC00 ghostWhite248248255#F8F8FF1385415#8A360F酸橙绿5020550#32CD32蜜露橙240255240#F0FFF01355136#873324薄荷色189252201#BDFCC9象牙白250255240#FAFFF0巧克力色21010530#D2691E10714235#6B8E23亚麻色250240230#FAF0E6肉色25512564#FF7D404812820#308014 navajoWhite255222173#FFDEAD黄褐色240230140#F0E68C海绿色4613987#2E8B57 old lace253245230#FDF5E6玫瑰红188143143#BC8F8F嫩绿色0255127#00FF7F 海贝壳色255245238#FFF5EE肖贡土色1999720#C76114雪白255250250#FFFAFA标土棕1157418#734A1216032240#A020F0943818#5E261213843226#8A2BE2 25500#FF0000赫色1608245#A0522D jasoa160102211#A066D315610231#9C661F马棕色1396919#8B4513湖紫色15351250#9933FA2272313#E3170D沙棕色24416496#F4A460淡紫色218112214#DA70D6珊瑚色25512780#FF7F50棕褐色210180140#D2B48C梅红色221160221#DDA0DD 1783434#B222221762331#B0171F00255#0000FF栗色1764896#B030606189171#3D59AB粉红255192203#FFC0CB dodger blue30144255#1E90FF1353887#872657112370#0B1746橙红色250128114#FA8072锰蓝3168158#03A89E蕃茄红2559971#FF63472525112#191970桔红255690#FF4500孔雀蓝51161201#33A1C92550255#FF00FF土耳其玉色0199140#00C78C浅粉红#FFB6C1 255,182,193粉红#FFC0CB 255,192,203猩红/深红#DC143C 220,20,60淡紫红#FFF0F5 255,240,245弱紫罗兰红#DB7093 219,112,147热情的粉红#FF69B4 255,105,180深粉红#FF1493 255,20,147中紫罗兰红#C71585 199,21,133兰花紫#DA70D6 218,112,214蓟#D8BFD8 216,191,216李子紫#DDA0DD 221,160,221紫罗兰#EE82EE 238,130,238洋红/玫瑰红#FF00FF 255,0,255灯笼海棠/紫红#FF00FF 255,0,255深洋红#8B008B 139,0,139紫色#800080 128,0,128中兰花紫#BA55D3 186,85,211暗紫罗兰#9400D3 148,0,211暗兰花紫#9932CC 153,50,204靛青/紫兰色#4B0082 75,0,130蓝紫罗兰#8A2BE2 138,43,226中紫色#9370DB 147,112,219中板岩蓝#7B68EE 123,104,238板岩蓝#6A5ACD 106,90,205暗板岩蓝#483D8B 72,61,139熏衣草淡紫#E6E6FA 230,230,250幽灵白#F8F8FF 248,248,255纯蓝#0000FF 0,0,255中蓝色#0000CD 0,0,205午夜蓝#191970 25,25,112暗蓝色#00008B 0,0,139海军蓝#000080 0,0,128皇家蓝/宝蓝#4169E1 65,105,225矢车菊蓝#6495ED 100,149,237亮钢蓝#B0C4DE 176,196,222亮石板灰#778899 119,136,153石板灰#708090 112,128,144道奇蓝#1E90FF 30,144,255爱丽丝蓝#F0F8FF 240,248,255钢蓝/铁青#4682B4 70,130,180亮天蓝色#87CEFA 135,206,250天蓝色#87CEEB 135,206,235深天蓝#00BFFF 0,191,255亮蓝#ADD8E6 173,216,230火药青#B0E0E6 176,224,230军服蓝#5F9EA0 95,158,160蔚蓝色#F0FFFF 240,255,255淡青色#E0FFFF 224,255,255弱绿宝石#AFEEEE 175,238,238青色#00FFFF 0,255,255水色#00FFFF 0,255,255暗绿宝石#00CED1 0,206,209暗石板灰#2F4F4F 47,79,79暗青色#008B8B 0,139,139水鸭色#008080 0,128,128中绿宝石#41CC 72,209,204浅海洋绿#20B2AA 32,178,170绿宝石#40E0D0 64,224,208宝石碧绿#7FFFD4 127,255,212中宝石碧绿#66CDAA 102,205,170中春绿色#00FA9A 0,250,154薄荷奶油#F5FFFA 245,255,250春绿色#00FF7F 0,255,127中海洋绿#3CB371 60,179,113海洋绿#2E8B57 46,139,87蜜瓜色#F0FFF0 240,255,240淡绿色#90EE90 144,238,144弱绿色#98FB98 152,251,152暗海洋绿#8FBC8F 143,188,143闪光深绿#32CD32 50,205,50闪光绿#00FF00 0,255,0森林绿#228B22 34,139,34纯绿#008000 0,128,0暗绿色#006400 0,100,0查特酒绿#7FFF00 127,255,0草坪绿#7CFC00 124,252,0绿黄色#ADFF2F 173,255,47暗橄榄绿#556B2F 85,107,47黄绿色#9ACD32 154,205,50橄榄褐色#6B8E23 107,142,35米色/灰棕色#F5F5DC 245,245,220亮菊黄#FAFAD2 250,250,210象牙#FFFFF0 255,255,240浅黄色#FFFFE0 255,255,224纯黄#FFFF00 255,255,0橄榄#808000 128,128,0深卡叽布#BDB76B 189,183,107柠檬绸#FFFACD 255,250,205灰菊黄#EEE8AA 238,232,170卡叽布#F0E68C 240,230,140金色#FFD700 255,215,0玉米丝色#FFFC 255,248,220金菊黄#DAA520 218,165,32暗金菊黄#B8860B 184,134,11花的白色#FFFAF0 255,250,240旧蕾丝#FDF5E6 253,245,230小麦色#F5DEB3 245,222,179鹿皮靴#FFE4B5 255,228,181橙色#FFA500 255,165,0番木瓜#FFEFD5 255,239,213发白的杏仁色#FFEBCD 255,235,205土著白#FFDEAD 255,222,173古董白#FAEBD7 250,235,215茶色#D2B48C 210,180,140硬木色#DEB887 222,184,135陶坯黄#FFE4C4 255,228,196深橙色#FF8C00 255,140,0亚麻布#FAF0E6 250,240,230秘鲁#CD853F 205,133,63桃肉色#FFDAB9 255,218,185沙棕色#F4A460 244,164,96巧克力#D2691E 210,105,30马鞍棕色#8B4513 139,69,19海贝壳#FFF5EE 255,245,238黄土赭色#A0522D 160,82,45浅鲑鱼肉色#FFA07A 255,160,122珊瑚#FF7F50 255,127,80橙红色#FF4500 255,69,0深鲜肉/鲑鱼色#E9967A 233,150,122番茄红#FF6347 255,99,71薄雾玫瑰#FFE4E1 255,228,225鲜肉/鲑鱼色#FA8072 250,128,114雪#FFFAFA 255,250,250淡珊瑚色#F08080 240,128,128玫瑰棕色#BC8F8F 188,143,143印度红#CD5C5C 205,92,92纯红#FF0000 255,0,0棕色#A52A2A 165,42,42耐火砖#B22222 178,34,34深红色#8B0000 139,0,0栗色#800000 128,0,0纯白#FFFFFF 255,255,255白烟#F5F5F5 245,245,245庚斯博罗灰色#DCDCDC 220,220,220浅灰色#D3D3D3 211,211,211银灰色#C0C0C0 192,192,192深灰色#A9A9A9 169,169,169灰色#808080 128,128,128暗淡的灰色#696969 105,105,105纯黑#000000 0,0,0。
Android中颜色对照表
<resources><color name="pink">#ffc0cb</color><!--粉红色--><color name="lightpink">#ffb6c1</color><!--亮粉红色--><color name="white">#ffffff</color><!--白色--><color name="peachpuff">#ffdab9</color><!--桃色--><color name="gold">#ffd700</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="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="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="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="azure">#f0ffff</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="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="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="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="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="navy">#000080</color><!--海军色--><color name="black">#000000</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="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="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="lavender">#e6e6fa</color><!--淡紫色--><color name="lightcyan">#e0ffff</color><!--亮青色--><color name="burlywood">#deb887</color><!--实木色--><color name="crimson">#dc143c</color><!--暗深红色--><color name="plum">#dda0dd</color><!--洋李色--><color name="gainsboro">#dcdcdc</color><!--淡灰色--></resources>。
android 颜色代码
ffff00 ffff33 ffff66 ffff99 ffffcc ffffff ffcc00 ffcc33 ffcc66 ffcc99 ffcccc ffccff ff9900 ff9933 ff9966 ff9999 ff99cc ff99ff ff6600 ff6633 ff6666 ff6699 ff66cc ff66ff ff3300 ff3333 ff3366 ff3399 ff33cc ff33ff ff0000 ff0033 ff0066 ff0099 ff00cc ff00ff ccff00 ccff33 ccff66 ccff99 ccffcc ccffff cccc00 cccc33 cccc66 cccc99 cccccc ccccff cc9900 cc9933 cc9966 cc9999 cc99cc cc99ff cc6600 cc6633 cc6666 cc6699 cc66cc cc66ff cc3300 cc3333 cc3366 cc3399 cc33cc cc33ff cc0000 cc0033 cc0066 cc0099 cc00cc cc00ff 99ff00 99ff33 99ff66 99ff99 99ffcc 99ffff 99cc00 99cc33 99cc66 99cc99 99cccc 99ccff 999900 999933 999966 999999 9999cc 9999ff 996600 996633 996666 996699 9966cc 9966ff 993300 993333 993366 993399 9933cc 9933ff 990000 990033 990066 990099 9900cc 9900ff 66ff00 66ff33 66ff66 66ff99 66ffcc 66ffff 66cc00 66cc33 66cc66 66cc99 66cccc 66ccff 669900 669933 669966 669999 6699cc 6699ff 666600 666633 666666 666699 6666cc 6666ff 663300 6633336633666633996633cc 6633ff 660000 660033 660066 660099 6600cc 6600ff 33ff00 33ff33 33ff66 33ff99 33ffcc 33ffff 33cc00 33cc33 33cc66 33cc99 33cccc 33ccff 339900 339933 339966 339999 3399cc 3399ff 336600 336633 336666 336699 3366cc 3366ff 333300 333333 333366 3333993333cc 3333ff 330000 330033 330066 330099 3300cc 3300ff00ff00 00ff33 00ff66 00ff99 00ffcc 00ffff 00cc00 00cc33 00cc66 00cc99 00cccc 00ccff 009900 009933 009966 009999 0099cc 0099ff 006600 006633 006666 006699 0066cc 0066ff 003300 003333 003366 003399000000 000033 000066 000099#FFFFFF #FFFFF0 #FFFFE0 #FFFF00#FFFAFA #FFFAF0 #FFFACD #FFF8DC#FFF68F #FFF5EE #FFF0F5 #FFEFDB#FFEFD5 #FFEC8B #FFEBCD #FFE7BA#FFE4E1 #FFE4C4 #FFE4B5 #FFE1FF#FFDEAD #FFDAB9 #FFD700 #FFD39B#FFC1C1 #FFC125 #FFC0CB #FFBBFF#FFB90F #FFB6C1 #FFB5C5 #FFAEB9#FFA54F #FFA500 #FFA07A #FF8C69#FF8C00 #FF83FA #FF82AB #FF8247#FF7F50 #FF7F24 #FF7F00 #FF7256#FF6EB4 #FF6A6A #FF69B4 #FF6347#FF4500 #FF4040 #FF3E96 #FF34B3#FF3030 #FF1493 #FF00FF #FF0000#FDF5E6 #FCFCFC #FAFAFA #FAFAD2#FAF0E6 #FAEBD7 #FA8072 #F8F8FF#F7F7F7 #F5FFFA #F5F5F5 #F5F5DC#F5DEB3 #F4F4F4 #F4A460 #F2F2F2#F0FFFF #F0FFF0 #F0F8FF #F0F0F0#F0E68C #F08080 #EEEEE0 #EEEED1#EEEE00 #EEE9E9 #EEE9BF #EEE8CD #EEE8AA #EEE685 #EEE5DE #EEE0E5 #EEDFCC #EEDC82 #EED8AE #EED5D2 #EED5B7 #EED2EE #EECFA1 #EECBAD #EEC900 #EEC591 #EEB4B4 #EEB422 #EEAEEE #EEAD0E #EEA9B8 #EEA2AD #EE9A49 #EE9A00 #EE9572 #EE82EE #EE8262 #EE7AE9 #EE799F #EE7942 #EE7621 #EE7600 #EE6AA7 #EE6A50 #EE6363 #EE5C42 #EE4000 #EE3B3B #EE3A8C #EE30A7 #EE2C2C #EE1289 #EE00EE #EE0000 #EDEDED #EBEBEB #EAEAEA #E9967A #E8E8E8 #E6E6FA #E5E5E5 #E3E3E3 #E0FFFF #E0EEEE #E0EEE0 #E0E0E0 #E066FF #DEDEDE #DEB887 #DDA0DD #DCDCDC #DC143C #DBDBDB #DB7093 #DAA520 #DA70D6 #D9D9D9 #D8BFD8 #D6D6D6 #D4D4D4 #D3D3D3 #D2B48C #D2691E #D1EEEE #D1D1D1 #D15FEE #D02090 #CFCFCF #CDCDC1 #CDCDB4 #CDCD00 #CDC9C9 #CDC9A5 #CDC8B1 #CDC673 #CDC5BF #CDC1C5 #CDC0B0 #CDBE70 #CDBA96 #CDB7B5 #CDB79E #CDB5CD #CDB38B #CDAF95 #CDAD00 #CDAA7D #CD9B9B #CD9B1D #CD96CD #CD950C #CD919E #CD8C95 #CD853F #CD8500 #CD8162 #CD7054 #CD69C9 #CD6889 #CD6839#CD661D #CD6600 #CD6090 #CD5C5C #CD5B45 #CD5555 #CD4F39 #CD3700 #CD3333 #CD3278 #CD2990 #CD2626 #CD1076 #CD00CD #CD0000 #CCCCCC #CAFF70 #CAE1FF #C9C9C9 #C7C7C7 #C71585 #C6E2FF #C67171 #C5C1AA #C4C4C4 #C2C2C2 #C1FFC1 #C1CDCD #C1CDC1 #C1C1C1 #C0FF3E #BFEFFF #BFBFBF #BF3EFF #BEBEBE #BDBDBD #BDB76B #BCEE68 #BCD2EE #BC8F8F #BBFFFF #BABABA #BA55D3 #B9D3EE #B8B8B8 #B8860B #B7B7B7 #B5B5B5 #B4EEB4 #B4CDCD #B452CD #B3EE3A #B3B3B3 #B2DFEE #B23AEE #B22222 #B0E2FF #B0E0E6 #B0C4DE #B0B0B0 #B03060 #AEEEEE #ADFF2F #ADD8E6 #ADADAD #ABABAB #AB82FF #AAAAAA #A9A9A9 #A8A8A8 #A6A6A6 #A52A2A #A4D3EE #A3A3A3 #A2CD5A #A2B5CD #A1A1A1 #A0522D #A020F0 #9FB6CD #9F79EE #9E9E9E #9C9C9C #9BCD9B #9B30FF #9AFF9A #9ACD32 #9AC0CD #9A32CD #999999 #9932CC #98FB98 #98F5FF #97FFFF #96CDCD #969696 #949494 #9400D3 #9370DB #919191 #912CEE #90EE90 #8FBC8F #8F8F8F #8EE5EE #8E8E8E #8E8E38 #8E388E #8DEEEE #8DB6CD #8C8C8C #8B8B83#8B8B7A #8B8B00 #8B8989 #8B8970 #8B8878 #8B8682 #8B864E #8B8386 #8B8378 #8B814C #8B7E66 #8B7D7B #8B7D6B #8B7B8B #8B795E #8B7765 #8B7500 #8B7355 #8B6969 #8B6914 #8B668B #8B6508 #8B636C #8B5F65 #8B5A2B #8B5A00 #8B5742 #8B4C39 #8B4789 #8B475D #8B4726 #8B4513 #8B4500 #8B3E2F #8B3A62 #8B3A3A #8B3626 #8B2500 #8B2323 #8B2252 #8B1C62 #8B1A1A #8B0A50 #8B008B #8B0000 #8A8A8A #8A2BE2 #8968CD #87CEFF #87CEFA #87CEEB #878787 #858585 #848484 #8470FF #838B8B #838B83 #836FFF #828282 #7FFFD4 #7FFF00 #7F7F7F #7EC0EE #7D9EC0 #7D7D7D #7D26CD #7CFC00 #7CCD7C #7B68EE #7AC5CD #7A8B8B #7A7A7A #7A67EE #7A378B #79CDCD #787878 #778899 #76EEC6 #76EE00 #757575 #737373 #71C671 #7171C6 #708090 #707070 #6E8B3D #6E7B8B #6E6E6E #6CA6CD #6C7B8B #6B8E23 #6B6B6B #6A5ACD #698B69 #698B22 #696969 #6959CD #68838B #68228B #66CDAA #66CD00 #668B8B #666666 #6495ED #63B8FF #636363 #616161 #607B8B #5F9EA0 #5E5E5E #5D478B #5CACEE#5C5C5C #5B5B5B #595959 #575757 #556B2F #555555 #551A8B #54FF9F #548B54 #545454 #53868B #528B8B #525252 #515151 #4F94CD #4F4F4F #4EEE94 #4D4D4D #4B0082 #4A708B #4A4A4A #48D1CC #4876FF #483D8B #474747 #473C8B #4682B4 #458B74 #458B00 #454545 #43CD80 #436EEE #424242 #4169E1 #40E0D0 #404040 #3D3D3D #3CB371 #3B3B3B #3A5FCD #388E8E #383838 #36648B #363636 #333333 #32CD32 #303030 #2F4F4F #2E8B57 #2E2E2E #2B2B2B #292929 #282828 #27408B #262626 #242424 #228B22 #218868 #212121 #20B2AA #1F1F1F #1E90FF #1E1E1E #1C86EE #1C1C1C #1A1A1A #191970 #1874CD #171717 #141414 #121212 #104E8B #0F0F0F #0D0D0D #0A0A0A #080808 #050505 #030303 #00FFFF #00FF7F #00FF00 #00FA9A #00F5FF #00EEEE #00EE76 #00EE00 #00E5EE #00CED1 #00CDCD #00CD66 #00CD00 #00C5CD #00BFFF #00B2EE #009ACD #008B8B #008B45 #008B00 #00868B #00688B #006400 #0000FF #0000EE #0000CD #0000AA #00008B #000080 #000000颜色代码表2:红色和粉红色,以及它们的16进制代码。
Android学习笔记:Paint及Canvas的简单应用=
Android学习笔记:Paint及Canvas的简单应用在Android中需要通过graphics类来显示2D图形。
graphics中包括了Canvas(画布)、Paint(画笔)、Color(颜色)、Bitmap(图像)等常用的类。
graphics具有绘制点、线、颜色、2D几何图形、图像处理等功能。
1.Color(颜色)类Android系统中颜色的常用表示方法有以下3种:(1)int color = Color.BLUE;(2)int color = Color.argb(150,200,0,100);(3)在xml文件中定义颜色;在实际应用当中,我们常用的颜色有以下一些,其颜色常量及其表示的颜色如下所示:Color.BLACK 黑色Color.GREEN 绿色Color.BLUE 蓝色Color.LTGRAY 浅灰色Color.CYAN 青绿色 Color.MAGENTA 红紫色Color.DKGRAY 灰黑色 Color.RED 红色Color.YELLOW 黄色 Color.TRANSPARENT 透明Color.GRAY 灰色Color.WHITE 白色2.Paint(画笔)类要绘制图形,首先得调整画笔,按照自己的开发需要设置画笔的相关属性。
Pain类的常用属性设置方法如下:setAntiAlias(); //设置画笔的锯齿效果setColor(); //设置画笔的颜色setARGB(); //设置画笔的A、R、G、B值setAlpha(); //设置画笔的Alpha值setTextSize(); //设置字体的尺寸setStyle(); //设置画笔的风格(空心或实心)setStrokeWidth(); //设置空心边框的宽度getColor(); //获取画笔的颜色3.Canvas(画布)类画笔属性设置好之后,还需要将图像绘制到画布上。
Canvas类可以用来实现各种图形的绘制工作,如绘制直线、矩形、圆等等。
Android代码中设置Color参数-电脑资料
Android代码中设置Color参数-电脑资料
今天想绘制一条根据参数颜色动态变化的曲线,参数不固定,因此需要根据参数来获取颜色值,。
研究了很久,搞了一个通过Paint实现的方案。
Paint 中包含了很多方法对其属性进行设置,主要方法如下:
setAntiAlias: 设置画笔的锯齿效果。
setColor: 设置画笔颜色
setARGB: 设置画笔的a,r,p,g值。
setAlpha: 设置Alpha值
setTextSize: 设置字体尺寸。
setStyle. 设置画笔风格,空心或者实心。
setStrokeWidth: 设置空心的边框宽度。
getColor: 得到画笔的颜色
getAlpha: 得到画笔的Alpha值。
我们需要的就是setARGB和getColor。
1
2
3
4
5
6
7
8
9
10
11
12
private int getColor(float yourParam) {
int alfa = 120;
int rColor = 255;
int gColor = 255;
int bColor = 255;
/*********
* Your code, change alfa/r/g/b by yourParam *********/
Paint paint = new Paint();
paint.setARGB(alfa, rColor, gColor, bColor); return paint.getColor();
}。
安卓开发颜色对照表
安卓开发颜⾊对照表安卓系统字体颜⾊代码and修改字体颜⾊1、在layout⽂件下的配置xml⽂件中直接设置字体颜⾊,通过添加android:textcolor=“#FFFFFF”来变化颜⾊但这样的效果只能让字体千篇⼀律的显⽰⼀种颜⾊。
2、在activity中通过TextView tv=new TextView(this);实例化⼀个textview,通过setContentView(tv);将其加载到当前activity,设置要显⽰的内容String str=“想要显⽰的内容”;通过以下代码可以实现部分⽂本字体的改变,参数中的数字表⽰起始位置和结束位置,此种⽅法⽐较复杂。
代码如下:SpannableStringBuilder style=new SpannableStringBuilder(str);//SpannableStringBuilder实现CharSequence接⼝style.setSpan(newForegroundColorSpan(Color.RED),0,2,Spannable.SPAN_EXCLUSIVE_EXCLUSIVE );style.setSpan(newForegroundColorSpan(Color.YELLOW),2,4,Spannable.SPAN_EXCLUSIVE_EXCLUSIVE );style.setSpan(newForegroundColorSpan(Color.GREEN),4,6,Spannable.SPAN_EXCLUSIVE_EXCLUSIVE );tv.setText(style);//将其添加到tv中3、通过html标签改变⽂本颜⾊tv.setText(Html.fromHtml("我是<font color=blue>danyijiangnan</font>"));1 F2 红⾊ #FF00003 绿⾊ #00FF004 蓝⾊#0000FF5 牡丹红 #FF00FF6 青⾊#00FFFF7黄⾊#FFFF008 ⿊⾊ #0000009 海蓝#70DB9310 巧克⼒⾊#5C331711 蓝紫⾊#9F5F9F12 黄铜⾊ #B5A64213 亮⾦⾊ #D9D91914 棕⾊#A67D3D15 青铜⾊#8C785316 2号青铜⾊#A67D3D17 ⼠官服蓝⾊#5F9F9F18 冷铜⾊ #D9871919 铜⾊ #B8733320 珊瑚红 #FF7F0021 紫蓝⾊ #42426F22 深棕 #5C403323 深绿 #2F4F2F24 深铜绿⾊ #4A766E25 深橄榄绿 #4F4F2F26 深兰花⾊ #9932CD27 深紫⾊ #871F7828 深⽯板蓝 #6B238E29 深铅灰⾊ #2F4F4F30 深棕褐⾊ #97694F32 深绿松⽯⾊ #7093DB33 暗⽊⾊ #855E4234 淡灰⾊ #54545435 ⼟灰玫瑰红⾊ #54545436 长⽯⾊ #D1927537 ⽕砖⾊ #8E232338 森林绿 #238E2339 ⾦⾊ #CD7F3240 鲜黄⾊ #DBDB7041 灰⾊ #C0C0C042 铜绿⾊ #527F7643 青黄⾊ #93DB7044 猎⼈绿 #215E2145 印度红 #4E2F2F46 ⼟黄⾊ #9F9F5F47 浅蓝⾊ #C0D9D948 浅灰⾊ #A8A8A849 浅钢蓝⾊ #8F8FBD 59 浅⽊⾊ #E9C2A660⽯灰绿⾊ #32CD3261 桔黄⾊ #E4783362 褐红⾊ #8E236B63 中海蓝⾊ #32CD9964 中蓝⾊ #3232CD65 中森林绿 #6B8E2366 中鲜黄⾊ #EAEAAE67 中兰花⾊ #9370DB68 中海绿⾊ #426F4269 中⽯板蓝⾊ #7F00FF70 中春绿⾊ #7FFF0071 中绿松⽯⾊ #70DBDB72 中紫红⾊ #DB709373 中⽊⾊ #A6806474 深藏青⾊ #2F2F4F75 海军蓝 #23238E76 霓虹蓝 #4D4DFF转⾃百度⽂库 :)安卓系统字体颜⾊代码and修改字体颜⾊1、在layout⽂件下的配置xml⽂件中直接设置字体颜⾊,通过添加android:textcolor=“#FFFFFF”来变化颜⾊但这样的效果只能让字体千篇⼀律的显⽰⼀种颜⾊。
android中所有颜色代码
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="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="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>。
Android和Html中的颜色代码
Android和Html中的颜⾊代码颜⾊名称RRGGBB含义颜⾊名称RRGGBB含义aliceblue FOF8FF爱丽斯蓝antiquewith FAEBD7古董⽩aqua00FFFF浅绿⾊aquamarine7FFFD4碧绿⾊azure F0FFFF天蓝⾊beige F5F5DC⽶⾊bisque FFE4C4桔黄⾊000000 blanchedalmond FFEBCD⽩杏⾊burlywood DEB887实⽊⾊cadetblue5F9EA0军蓝⾊chartreuse7FFF00黄绿⾊cornsilk FFF8DC⽶绸⾊cyan00FFFF青⾊006400darksalmon E9967A深⾁⾊darkseagreen8FBC8B深海绿⾊darkturquoise00CED1深宝⽯绿deepskyblue00BFFF深天蓝⾊696969floralwhite FFFAF0花⽩⾊gainsboro DCDCDC淡灰⾊ghostwhite F8F8FF幽灵⽩⾊gold FFD700⾦⾊gray808080灰⾊008000 greenyellow ADFF2F黄绿⾊honeydew F0FFF0蜜⾊ivory FFFFF0象⽛⾊khaki F0E68C黄褐⾊lavender E6E6FA淡紫⾊lavenderblush FFF0F5浅紫红⾊lawngreen7CF000草绿⾊lemonchiffon FFFACD柠檬绸⾊lightblue ADD8E6浅绿⾊lightcyan E0FFFF浅青⾊lightgodenrodyellow FAFAD2浅⾦黄⾊lightgreen90EE90浅绿⾊lightgray D3D3D3浅灰⾊lightpink FFB6C1浅粉红⾊lightsalmon FFA07A浅⾁⾊lightskyblue87CEFA浅天蓝⾊778899 lightsteelblue B0C4DE浅钢蓝⾊lightyellow FFFFE0亮黄⾊lime00FF00酸橙⾊limegreen32CD32橙绿⾊linen FAF0E6亚⿇⾊800000mediumaquamarine66CDAA中碧绿⾊mediumspringgreen00FA9A中春绿⾊mediumturquoise48D1CC中绿宝⽯191970mintcream F5FFFA薄荷⾊mistyrose FFE4E1雾玫瑰⾊moccasin FFE4B5⿅⽪⾊navalowhite FFDEAD海⽩⾊000080oldlace FDF5E6花边黄⾊808000orange FFA500橙⾊orchid DA70D6淡紫⾊orchid DA70D6淡紫⾊palegoldenrod EEE8AA浅⾦麒麟⾊palegreen98EB98浅绿⾊paleturquoise AFEEEE浅宝⽯绿palevioletred DB7093淡紫红⾊papayawhip FFEFD5番⽊⾊peachpuff FFDAB9桃⾊pink FFC0CB粉红⾊plum DDA0DD洋李⾊powderblue B0E0E6粉蓝⾊800080rosybrown BC8F8F褐玫瑰红416900salmon FA8072⾁红⾊sandybrown F4A460沙褐⾊seashell FFF5EE海贝⾊silver C0C0C0银⾊skyblue87CEEB天蓝⾊slategray708090灰⽯⾊snow FFFAFA雪⽩⾊springgreen00FF7F春绿⾊tan D2B48C茶⾊008080thistle D8BFD8蓟⾊turquoise40E0D0青绿⾊wheat F5DEB3浅黄⾊white FFFFFF⽩⾊whitesmoke F5F5F5烟⽩⾊yellow FFFF00黄⾊yellowgreen9ACD32黄绿⾊。
颜色RGB对照表(所有颜色大全)
颜色RGB对照表(所有颜色大全)■RGB(255,192,203)■★●◆pink(粉红)■RGB(220,20,60)■★●◆crimson(腥红)■RGB(255,240,245)■★●◆lavenderblush(苍白的紫罗兰红)■RGB(219,112,147)■★●◆palevioletred(脸红的淡紫红)■RGB(255,105,180)■★●◆hotpink(热情的粉红)■RGB(199,21,133)■★●◆mediumvioletred(适中的紫罗兰红)■RGB(218,112,214)■★●◆orchid(兰花紫)■RGB(216,191,216)■★●◆thistle(苍紫)■RGB(221,160,221)■★●◆plum(轻紫)■RGB(238,130,238)■★●◆violet(紫罗兰)■RGB(255,0,255)■★●◆magenta(洋紫)■RGB(255,0,255)■★●◆fuchsia(紫红)■RGB(139,0,139)■★●◆darkmagenta(深洋紫)■RGB(128,0,128)■★●◆purple(紫)■RGB(186,85,211)■★●◆mediumorchid(适中的兰花紫)■RGB(148,0,211)■★●◆darkviolet(深紫罗兰)■RGB(75,0,130)■★●◆indigo(靓青)■RGB(138,43,226)■★●◆blueviolet(蓝紫罗兰)■RGB(147,112,219)■★●◆mediumpurple(适中的紫)■RGB(123,104,238)■★●◆mediumslateblue(适中的的板岩蓝)■RGB(106,90,205)■★●◆slateblue(板岩蓝)■RGB(72,61,139)■★●◆darkslateblue(深板岩蓝)■RGB(230,230,250)■★●◆lavender(熏衣草花的淡紫)■RGB(248,248,255)■★●◆ghostwhite(幽灵白)■RGB(0,0,255)■★●◆blue(蓝)■RGB(0,0,205)■★●◆mediumblue(适中的蓝)■RGB(25,25,112)■★●◆midnightblue(午夜蓝)■RGB(0,0,139)■★●◆darkblue(深蓝)■RGB(0,0,128)■★●◆navy(海军蓝)■RGB(65,105,225)■★●◆royalblue(皇家蓝)■RGB(100,149,237)■★●◆cornflowerblue(矢车菊蓝)■RGB(176,196,222)■★●◆lightsteelblue(淡钢蓝)■RGB(119,136,153)■★●◆lightslategray(浅石板灰)■RGB(112,128,144)■★●◆slategray(石板灰)■RGB(30,144,255)■★●◆dodgerblue(道奇蓝)■RGB(240,248,255)■★●◆aliceblue(爱丽丝蓝)■RGB(70,130,180)■★●◆steelblue(钢蓝)■RGB(135,206,250)■★●◆lightskyblue(淡天蓝)■RGB(135,206,235)■★●◆skyblue(天蓝)■RGB(0,191,255)■★●◆deepskyblue(深天蓝)■RGB(173,216,230)■★●◆lightblue(淡蓝)■RGB(176,224,230)■★●◆powderblue(火药蓝)■RGB(95,158,160)■★●◆cadetblue(军校蓝)■RGB(240,255,255)■★●◆azure(蔚蓝)■RGB(224,255,255)■★●◆lightcyan(淡青)■RGB(175,238,238)■★●◆paleturquoise(苍白的宝石绿)■RGB(0,255,255)■★●◆cyan(青)■RGB(0,255,255)■★●◆aqua(水绿)■RGB(0,206,209)■★●◆darkturquoise(深宝石绿)■RGB(47,79,79)■★●◆darkslategray(深石板灰)■RGB(0,139,139)■★●◆darkcyan(深青色)■RGB(0,128,128)■★●◆teal(水鸭色)■RGB(72,209,204)■★●◆mediumturquoise(适中的宝石绿)■RGB(32,178,170)■★●◆lightseagreen(浅海洋绿)■RGB(64,224,208)■★●◆turquoi se(宝石绿)■RGB(127,255,212)■★●◆aquamarine(碧绿)■RGB(102,205,170)■★●◆mediumaquamarine(适中的碧绿)■RGB(0,250,154)■★●◆mediumspringgreen(适中的春天绿)■RGB(245,255,250)■★●◆mintcream(薄荷奶油)■RGB(0,255,127)■★●◆springgreen(春天绿)■RGB(60,179,113)■★●◆mediumseagreen(适中的海洋绿)■RGB(46,139,87)■★●◆seagreen(海洋绿)■RGB(240,255,240)■★●◆honeydew(浅粉红)■RGB(144,238,144)■★●◆lightgreen(浅绿)■RGB(152,251,152)■★●◆palegreen(苍白绿)■RGB(143,188,143)■★●◆darkseagreen(深海洋绿)■RGB(50,205,50)■★●◆limegreen(柠檬绿)■RGB(0,255,0)■★●◆lime(柠檬)■RGB(34,139,34)■★●◆forestgreen(森林绿)■RGB(127,255,0)■★●◆chartreuse(查特酒绿)■RGB(124,252,0)■★●◆lawngreen(草坪绿)■RGB(173,255,47)■★●◆greenyellow(绿黄)■RGB(85,107,47)■★●◆darkolivegreen(深橄榄绿)■RGB(154,205,50)■★●◆yellowgreen(黄绿)■RGB(107,142,35)■★●◆olivedrab(橄榄褐)■RGB(245,245,220)■★●◆beige(米色)■RGB(250,250,210)■★●◆lightgoldenrodyellow(浅秋黄)■RGB(255,255,240)■★●◆ivory(象牙白)■RGB(255,255,224)■★●◆lightyellow(浅黄)■RGB(255,255,0)■★●◆yellow(黄)■RGB(128,128,0)■★●◆olive(橄榄)■RGB(189,183,107)■★●◆darkkhaki(深卡其布)■RGB(255,250,205)■★●◆lemonchiffon(柠檬沙)■RGB(238,232,170)■★●◆pal egoldenrod(灰秋)■RGB(240,230,140)■★●◆khaki(卡其布)■RGB(255,215,0)■★●◆gold(金)■RGB(255,248,220)■★●◆cornsilk(玉米)■RGB(218,165,32)■★●◆goldenrod(秋)■RGB(184,134,11)■★●◆darkgoldenrod(深秋)■RGB(255,250,240)■★ ●◆ floralwhite(白花)■RGB(253,245,230)■★●◆oldlace(浅米色)■RGB(245,222,179)■★●◆wheat(小麦)■RGB(255,228,181)■★●◆moccasin(鹿皮)■RGB(255,165,0)■★●◆orange(橙)■RGB(255,239,213)■★●◆papayawhip(木瓜)■RGB(255,235,205)■★●◆blanchedalmond(漂白后的杏仁)■RGB(255,222,173)■★●◆navajowhite(耐而节白)■RGB(250,235,215)■★●◆antiquewhite(古白)■RGB(210,180,140)■★●◆tan(晒)■RGB(222,184,135)■★●◆burlywood(树干)■RGB(255,228,196)■★●◆bisque(乳脂)■RGB(255,140,0)■★●◆darkorange(深橙色)■RGB(250,240,230)■★●◆linen(亚麻)■RGB(205,133,63)■★●◆peru(秘鲁)■RGB(244,164,96)■★●◆sandybrown(沙棕)■RGB(210,105,30)■★●◆chocolate(巧克力)■RGB(192,14,235)■★●◆chocolatesaddlebrown(马鞍棕)■RGB(255,245,238)■★●◆seashell(海贝)■RGB(160,82,45)■★●◆sienna(土黄赭)■RGB(255,160,122)■★●◆lightsalmon(浅肉)■RGB(255,127,80)■★●◆coral(珊瑚)■RGB(255,69,0)■★●◆orangered(橙红)■RGB(255,99,71)■★●◆tomato(番茄色)■RGB(255,228,225)■★●◆mistyrose(雾中玫瑰)■RGB(250,128,114)■★●◆salmon(肉)■RGB(255,250,250)■★●◆snow(雪)■RGB(240,128,128)■★●◆lightcoral(浅珊瑚)■RGB(188,143,143)■★●◆rosybrown(玫瑰棕)■RGB(205,92,92)■★●◆indianred(浅粉红)■RGB(255,0,0)■★●◆red(红)■RGB(165,42,42)■★●◆brown(棕)■RGB(178,34,34)■★●◆firebrick(火砖)■RGB(139,0,0)■★●◆darkred(深红)■RGB(128,0,0)■★●◆maroon(粟色)■RGB(255,255,255)■★●◆white(白)■RGB(245,245,245)■★●◆whitesmoke(烟白)■RGB(220,220,220)■★●◆gainsboro(赶死部落)■RGB(211,211,211)■★●◆lightgrey(浅灰)■RGB(192,192,192)■★●◆silver(银白)■RGB(169,169,169)■★●◆darkgray(深灰)■RGB(105,105,105)■★●◆dimgray(暗灰)■RGB(0,0,0)■★●◆black (黑)。
颜色RGB对照表(所有颜色大全)
■RGB(255,192,203)■★●◆pink(粉红)■RGB(220,20,60)■★●◆crimson(腥红)■RGB(255,240,245)■★●◆lavenderblush(苍白的紫罗兰红)■RGB(219,112,147)■★●◆palevioletred(脸红的淡紫红)■RGB(255,105,180)■★●◆hotpink(热情的粉红)■RGB(199,21,133)■★●◆mediumvioletred(适中的紫罗兰红)■RGB(218,112,214)■★●◆orchid(兰花紫)■RGB(216,191,216)■★●◆thistle(苍紫)■RGB(221,160,221)■★●◆plum(轻紫)■RGB(238,130,238)■★●◆violet(紫罗兰)■RGB(255,0,255)■★●◆magenta(洋紫)■RGB(255,0,255)■★●◆fuchsia(紫红)■RGB(139,0,139)■★●◆darkmagenta(深洋紫)■RGB(128,0,128)■★●◆purple(紫)■RGB(186,85,211)■★●◆mediumorchid(适中的兰花紫)■RGB(148,0,211)■★●◆darkviolet(深紫罗兰)■RGB(75,0,130)■★●◆indigo(靓青)■RGB(138,43,226)■★●◆blueviolet(蓝紫罗兰)■RGB(147,112,219)■★●◆mediumpurple(适中的紫)■RGB(123,104,238)■★●◆mediumslateblue(适中的的板岩蓝)■RGB(106,90,205)■★●◆slateblue(板岩蓝)■RGB(72,61,139)■★●◆darkslateblue(深板岩蓝)■RGB(230,230,250)■★●◆lavender(熏衣草花的淡紫)■RGB(248,248,255)■★●◆ghostwhite(幽灵白)■RGB(0,0,255)■★●◆blue(蓝)■RGB(0,0,205)■★●◆mediumblue(适中的蓝)■RGB(25,25,112)■★●◆midnightblue(午夜蓝)■RGB(0,0,139)■★●◆darkblue(深蓝)■RGB(0,0,128)■★●◆navy(海军蓝)■RGB(65,105,225)■★●◆royalblue(皇家蓝)■RGB(100,149,237)■★●◆cornflowerblue(矢车菊蓝)■RGB(176,196,222)■★●◆lightsteelblue(淡钢蓝)■RGB(119,136,153)■★●◆lightslategray(浅石板灰)■RGB(112,128,144)■★●◆slategray(石板灰)■RGB(30,144,255)■★●◆dodgerblue(道奇蓝)■RGB(240,248,255)■★●◆aliceblue(爱丽丝蓝)■RGB(70,130,180)■★●◆steelblue(钢蓝)■RGB(135,206,250)■★●◆lightskyblue(淡天蓝)■RGB(135,206,235)■★●◆skyblue(天蓝)■RGB(0,191,255)■★●◆deepskyblue(深天蓝)■RGB(173,216,230)■★●◆lightblue(淡蓝)■RGB(176,224,230)■★●◆powderblue(火药蓝)■RGB(95,158,160)■★●◆cadetblue(军校蓝)■RGB(240,255,255)■★●◆azure(蔚蓝)■RGB(224,255,255)■★●◆lightcyan(淡青)■RGB(175,238,238)■★●◆paleturquoise(苍白的宝石绿)■RGB(0,255,255)■★●◆cyan(青)■RGB(0,255,255)■★●◆aqua(水绿)■RGB(0,206,209)■★●◆darkturquoise(深宝石绿)■RGB(47,79,79)■★●◆darkslategray(深石板灰)■RGB(0,139,139)■★●◆darkcyan(深青色)■RGB(0,128,128)■★●◆teal(水鸭色)■RGB(72,209,204)■★●◆mediumturquoise(适中的宝石绿)■RGB(32,178,170)■★●◆lightseagreen(浅海洋绿)■RGB(64,224,208)■★●◆turquoise(宝石绿)■RGB(127,255,212)■★●◆aquamarine(碧绿)■RGB(102,205,170)■★●◆mediumaquamarine(适中的碧绿)■RGB(0,250,154)■★●◆mediumspringgreen(适中的春天绿)■RGB(245,255,250)■★●◆mintcream(薄荷奶油)■RGB(0,255,127)■★●◆springgreen(春天绿)■RGB(60,179,113)■★●◆mediumseagreen(适中的海洋绿)■RGB(46,139,87)■★●◆seagreen(海洋绿)■RGB(240,255,240)■★●◆honeydew(浅粉红)■RGB(144,238,144)■★●◆lightgreen(浅绿)■RGB(152,251,152)■★●◆palegreen(苍白绿)■RGB(143,188,143)■★●◆darkseagreen(深海洋绿)■RGB(50,205,50)■★●◆limegreen(柠檬绿)■RGB(0,255,0)■★●◆lime(柠檬)■RGB(34,139,34)■★●◆forestgreen(森林绿)■RGB(127,255,0)■★●◆chartreuse(查特酒绿)■RGB(124,252,0)■★●◆lawngreen(草坪绿)■RGB(173,255,47)■★●◆greenyellow(绿黄)■RGB(85,107,47)■★●◆darkolivegreen(深橄榄绿)■RGB(154,205,50)■★●◆yellowgreen(黄绿)■RGB(107,142,35)■★●◆olivedrab(橄榄褐)■RGB(245,245,220)■★●◆beige(米色)■RGB(250,250,210)■★●◆lightgoldenrodyellow(浅秋黄)■RGB(255,255,240)■★●◆ivory(象牙白)■RGB(255,255,224)■★●◆lightyellow(浅黄)■RGB(255,255,0)■★●◆yellow(黄)■RGB(128,128,0)■★●◆olive(橄榄)■RGB(189,183,107)■★●◆darkkhaki(深卡其布)■RGB(255,250,205)■★●◆lemonchiffon(柠檬沙)■RGB(238,232,170)■★●◆palegoldenrod(灰秋)■RGB(240,230,140)■★●◆khaki(卡其布)■RGB(255,215,0)■★●◆gold(金)■RGB(255,248,220)■★●◆cornsilk(玉米)■RGB(218,165,32)■★●◆goldenrod(秋)■RGB(184,134,11)■★●◆darkgoldenrod(深秋)■RGB(255,250,240)■★ ●◆ floralwhite(白花)■RGB(253,245,230)■★●◆oldlace(浅米色)■RGB(245,222,179)■★●◆wheat(小麦)■RGB(255,228,181)■★●◆moccasin(鹿皮)■RGB(255,165,0)■★●◆orange(橙)■RGB(255,239,213)■★●◆papayawhip(木瓜)■RGB(255,235,205)■★●◆blanchedalmond(漂白后的杏仁)■RGB(255,222,173)■★●◆navajowhite(耐而节白)■RGB(250,235,215)■★●◆antiquewhite(古白)■RGB(210,180,140)■★●◆tan(晒)■RGB(222,184,135)■★●◆burlywood(树干)■RGB(255,228,196)■★●◆bisque(乳脂)■RGB(255,140,0)■★●◆darkorange(深橙色)■RGB(250,240,230)■★●◆linen(亚麻)■RGB(205,133,63)■★●◆peru(秘鲁)■RGB(244,164,96)■★●◆sandybrown(沙棕)■RGB(210,105,30)■★●◆chocolate(巧克力)■RGB(192,14,235)■★●◆chocolatesaddlebrown(马鞍棕)■RGB(255,245,238)■★●◆seashell(海贝)■RGB(160,82,45)■★●◆sienna(土黄赭)■RGB(255,160,122)■★●◆lightsalmon(浅肉)■RGB(255,127,80)■★●◆coral(珊瑚)■RGB(255,69,0)■★●◆orangered(橙红)■RGB(255,99,71)■★●◆tomato(番茄色)■RGB(255,228,225)■★●◆mistyrose(雾中玫瑰)■RGB(250,128,114)■★●◆salmon(肉)■RGB(255,250,250)■★●◆snow(雪)■RGB(240,128,128)■★●◆lightcoral(浅珊瑚)■RGB(188,143,143)■★●◆rosybrown(玫瑰棕)■RGB(205,92,92)■★●◆indianred(浅粉红)■RGB(255,0,0)■★●◆red(红)■RGB(165,42,42)■★●◆brown(棕)■RGB(178,34,34)■★●◆firebrick(火砖)■RGB(139,0,0)■★●◆darkred(深红)■RGB(128,0,0)■★●◆maroon(粟色)■RGB(255,255,255)■★●◆white(白)■RGB(245,245,245)■★●◆whitesmoke(烟白)■RGB(220,220,220)■★●◆gainsboro(赶死部落)■RGB(211,211,211)■★●◆lightgrey(浅灰)■RGB(192,192,192)■★●◆silver(银白)■RGB(169,169,169)■★●◆darkgray(深灰)■RGB(105,105,105)■★●◆dimgray(暗灰)■RGB(0,0,0)■★●◆black(黑)。
android中各种颜色的八进制表示
Android开发:setAlpha()方法和常用RGB颜色表----颜色, r gb分量数值(int), 16进制表示一一对应分类:Android开发2013-02-15 11:07 10640人阅读评论(3) 收藏举报杂家前文Android颜色对应表只有颜色和十六进制,有时候需要设置r g b分量的int值,如paint.setARGB(255, 127, 255, 212);就需要自己计算下分量的各个值。
这里提供一个带有r g b分量的int型的颜色表。
注意paint.setAlpha()及paint.setARGB()的第一个参数,即透明度。
其取值范围是0---255,数值越小,越透明,颜色上表现越淡。
实际上当设成10以下就会有透明的效果了。
注意:这个透明度是用来设置画笔paint的透明度,然后用paint画各种东西。
常用RGB颜色表R G B值R G B值R G B值000#000000黄色2552550#FFFF00浅灰蓝色176224230#B0E0E6 413633#292421香蕉色22720787#E3CF57品蓝65105225#4169E1 192192192#C0C0C0镉黄25515318#FF9912石板蓝10690205#6A5ACD 128138135#808A87dougello23514285#EB8E55天蓝135206235#87CEEB 112128105#708069forum gold255227132#FFE384128128105#808069金黄色2552150#FFD700青色0255255#00FFFF黄花色218165105#DAA569569415#385E0F 白色255255255#FFFFFF瓜色227168105#E3A86984684#082E54古董白250235215#FAEBD7橙色255970#FF6100碧绿色127255212#7FFFD4天蓝色240255255#F0FFFF镉橙255973#FF6103青绿色64224208#40E0D0白烟245245245#F5F5F5胡萝卜色23714533#ED9121绿色02550#00FF00白杏仁255235205#FFFFCD桔黄2551280#FF8000黄绿色1272550#7FFF00 cornsilk255248220#FFF8DC淡黄色245222179#F5DEB36114564#3D9140蛋壳色252230201#FCE6C9翠绿色020187#00C957花白255250240#FFFAF01284242#802A2A3413934#228B22 gainsboro220220220#DCDCDC米色163148128#A39480草地绿1242520#7CFC00 ghostWhite248248255#F8F8FF1385415#8A360F酸橙绿5020550#32CD32蜜露橙240255240#F0FFF01355136#873324薄荷色189252201#BDFCC9象牙白250255240#FAFFF0巧克力色21010530#D2691E10714235#6B8E23亚麻色250240230#FAF0E6肉色25512564#FF7D404812820#308014 navajoWhite255222173#FFDEAD黄褐色240230140#F0E68C海绿色4613987#2E8B57 old lace253245230#FDF5E6玫瑰红188143143#BC8F8F嫩绿色0255127#00FF7F 海贝壳色255245238#FFF5EE肖贡土色1999720#C76114雪白255250250#FFFAFA标土棕1157418#734A1216032240#A020F0943818#5E261213843226#8A2BE2 25500#FF0000赫色1608245#A0522D jasoa160102211#A066D315610231#9C661F马棕色1396919#8B4513湖紫色15351250#9933FA2272313#E3170D沙棕色24416496#F4A460淡紫色218112214#DA70D6珊瑚色25512780#FF7F50棕褐色210180140#D2B48C梅红色221160221#DDA0DD 1783434#B222221762331#B0171F00255#0000FF栗色1764896#B030606189171#3D59AB粉红255192203#FFC0CB dodger blue30144255#1E90FF1353887#872657112370#0B1746橙红色250128114#FA8072锰蓝3168158#03A89E蕃茄红2559971#FF63472525112#191970桔红255690#FF4500孔雀蓝51161201#33A1C92550255#FF00FF土耳其玉色0199140#00C78C浅粉红#FFB6C1 255,182,193粉红#FFC0CB 255,192,203猩红/深红#DC143C 220,20,60淡紫红#FFF0F5 255,240,245弱紫罗兰红#DB7093 219,112,147热情的粉红#FF69B4 255,105,180深粉红#FF1493 255,20,147中紫罗兰红#C71585 199,21,133兰花紫#DA70D6 218,112,214蓟#D8BFD8 216,191,216李子紫#DDA0DD 221,160,221紫罗兰#EE82EE 238,130,238洋红/玫瑰红#FF00FF 255,0,255灯笼海棠/紫红#FF00FF 255,0,255深洋红#8B008B 139,0,139紫色#800080 128,0,128中兰花紫#BA55D3 186,85,211暗紫罗兰#9400D3 148,0,211暗兰花紫#9932CC 153,50,204靛青/紫兰色#4B0082 75,0,130蓝紫罗兰#8A2BE2 138,43,226中紫色#9370DB 147,112,219中板岩蓝#7B68EE 123,104,238板岩蓝#6A5ACD 106,90,205暗板岩蓝#483D8B 72,61,139熏衣草淡紫#E6E6FA 230,230,250幽灵白#F8F8FF 248,248,255纯蓝#0000FF 0,0,255中蓝色#0000CD 0,0,205午夜蓝#191970 25,25,112暗蓝色#00008B 0,0,139海军蓝#000080 0,0,128皇家蓝/宝蓝#4169E1 65,105,225矢车菊蓝#6495ED 100,149,237亮钢蓝#B0C4DE 176,196,222亮石板灰#778899 119,136,153石板灰#708090 112,128,144道奇蓝#1E90FF 30,144,255爱丽丝蓝#F0F8FF 240,248,255钢蓝/铁青#4682B4 70,130,180亮天蓝色#87CEFA 135,206,250天蓝色#87CEEB 135,206,235深天蓝#00BFFF 0,191,255亮蓝#ADD8E6 173,216,230火药青#B0E0E6 176,224,230军服蓝#5F9EA0 95,158,160蔚蓝色#F0FFFF 240,255,255淡青色#E0FFFF 224,255,255弱绿宝石#AFEEEE 175,238,238青色#00FFFF 0,255,255水色#00FFFF 0,255,255暗绿宝石#00CED1 0,206,209暗石板灰#2F4F4F 47,79,79暗青色#008B8B 0,139,139水鸭色#008080 0,128,128中绿宝石#41CC 72,209,204浅海洋绿#20B2AA 32,178,170绿宝石#40E0D0 64,224,208宝石碧绿#7FFFD4 127,255,212中宝石碧绿#66CDAA 102,205,170中春绿色#00FA9A 0,250,154薄荷奶油#F5FFFA 245,255,250春绿色#00FF7F 0,255,127中海洋绿#3CB371 60,179,113海洋绿#2E8B57 46,139,87蜜瓜色#F0FFF0 240,255,240淡绿色#90EE90 144,238,144弱绿色#98FB98 152,251,152暗海洋绿#8FBC8F 143,188,143闪光深绿#32CD32 50,205,50闪光绿#00FF00 0,255,0森林绿#228B22 34,139,34纯绿#008000 0,128,0暗绿色#006400 0,100,0查特酒绿#7FFF00 127,255,0草坪绿#7CFC00 124,252,0绿黄色#ADFF2F 173,255,47暗橄榄绿#556B2F 85,107,47黄绿色#9ACD32 154,205,50橄榄褐色#6B8E23 107,142,35米色/灰棕色#F5F5DC 245,245,220亮菊黄#FAFAD2 250,250,210象牙#FFFFF0 255,255,240浅黄色#FFFFE0 255,255,224纯黄#FFFF00 255,255,0橄榄#808000 128,128,0深卡叽布#BDB76B 189,183,107柠檬绸#FFFACD 255,250,205灰菊黄#EEE8AA 238,232,170卡叽布#F0E68C 240,230,140金色#FFD700 255,215,0玉米丝色#FFFC 255,248,220金菊黄#DAA520 218,165,32暗金菊黄#B8860B 184,134,11花的白色#FFFAF0 255,250,240旧蕾丝#FDF5E6 253,245,230小麦色#F5DEB3 245,222,179鹿皮靴#FFE4B5 255,228,181橙色#FFA500 255,165,0番木瓜#FFEFD5 255,239,213发白的杏仁色#FFEBCD 255,235,205土著白#FFDEAD 255,222,173古董白#FAEBD7 250,235,215茶色#D2B48C 210,180,140硬木色#DEB887 222,184,135陶坯黄#FFE4C4 255,228,196深橙色#FF8C00 255,140,0亚麻布#FAF0E6 250,240,230秘鲁#CD853F 205,133,63桃肉色#FFDAB9 255,218,185沙棕色#F4A460 244,164,96巧克力#D2691E 210,105,30马鞍棕色#8B4513 139,69,19海贝壳#FFF5EE 255,245,238黄土赭色#A0522D 160,82,45浅鲑鱼肉色#FFA07A 255,160,122珊瑚#FF7F50 255,127,80橙红色#FF4500 255,69,0深鲜肉/鲑鱼色#E9967A 233,150,122番茄红#FF6347 255,99,71薄雾玫瑰#FFE4E1 255,228,225鲜肉/鲑鱼色#FA8072 250,128,114雪#FFFAFA 255,250,250淡珊瑚色#F08080 240,128,128玫瑰棕色#BC8F8F 188,143,143印度红#CD5C5C 205,92,92纯红#FF0000 255,0,0棕色#A52A2A 165,42,42耐火砖#B22222 178,34,34深红色#8B0000 139,0,0栗色#800000 128,0,0纯白#FFFFFF 255,255,255白烟#F5F5F5 245,245,245庚斯博罗灰色#DCDCDC 220,220,220浅灰色#D3D3D3 211,211,211银灰色#C0C0C0 192,192,192深灰色#A9A9A9 169,169,169灰色#808080 128,128,128暗淡的灰色#696969 105,105,105纯黑#000000 0,0,0。
android中各种颜色的八进制表示
Android开发:setAlpha()方法和常用RGB颜色表----颜色, r gb分量数值(int), 16进制表示一一对应分类:Android开发2013-02-15 11:07 10640人阅读评论(3) 收藏举报杂家前文Android颜色对应表只有颜色和十六进制,有时候需要设置r g b分量的int值,如paint.setARGB(255, 127, 255, 212);就需要自己计算下分量的各个值。
这里提供一个带有r g b分量的int型的颜色表。
注意paint.setAlpha()及paint.setARGB()的第一个参数,即透明度。
其取值范围是0---255,数值越小,越透明,颜色上表现越淡。
实际上当设成10以下就会有透明的效果了。
注意:这个透明度是用来设置画笔paint的透明度,然后用paint画各种东西。
常用RGB颜色表R G B值R G B值R G B值000#000000黄色2552550#FFFF00浅灰蓝色176224230#B0E0E6 413633#292421香蕉色22720787#E3CF57品蓝65105225#4169E1 192192192#C0C0C0镉黄25515318#FF9912石板蓝10690205#6A5ACD 128138135#808A87dougello23514285#EB8E55天蓝135206235#87CEEB 112128105#708069forum gold255227132#FFE384128128105#808069金黄色2552150#FFD700青色0255255#00FFFF黄花色218165105#DAA569569415#385E0F 白色255255255#FFFFFF瓜色227168105#E3A86984684#082E54古董白250235215#FAEBD7橙色255970#FF6100碧绿色127255212#7FFFD4天蓝色240255255#F0FFFF镉橙255973#FF6103青绿色64224208#40E0D0白烟245245245#F5F5F5胡萝卜色23714533#ED9121绿色02550#00FF00白杏仁255235205#FFFFCD桔黄2551280#FF8000黄绿色1272550#7FFF00 cornsilk255248220#FFF8DC淡黄色245222179#F5DEB36114564#3D9140蛋壳色252230201#FCE6C9翠绿色020187#00C957花白255250240#FFFAF01284242#802A2A3413934#228B22 gainsboro220220220#DCDCDC米色163148128#A39480草地绿1242520#7CFC00 ghostWhite248248255#F8F8FF1385415#8A360F酸橙绿5020550#32CD32蜜露橙240255240#F0FFF01355136#873324薄荷色189252201#BDFCC9象牙白250255240#FAFFF0巧克力色21010530#D2691E10714235#6B8E23亚麻色250240230#FAF0E6肉色25512564#FF7D404812820#308014 navajoWhite255222173#FFDEAD黄褐色240230140#F0E68C海绿色4613987#2E8B57 old lace253245230#FDF5E6玫瑰红188143143#BC8F8F嫩绿色0255127#00FF7F 海贝壳色255245238#FFF5EE肖贡土色1999720#C76114雪白255250250#FFFAFA标土棕1157418#734A1216032240#A020F0943818#5E261213843226#8A2BE2 25500#FF0000赫色1608245#A0522D jasoa160102211#A066D315610231#9C661F马棕色1396919#8B4513湖紫色15351250#9933FA2272313#E3170D沙棕色24416496#F4A460淡紫色218112214#DA70D6珊瑚色25512780#FF7F50棕褐色210180140#D2B48C梅红色221160221#DDA0DD 1783434#B222221762331#B0171F00255#0000FF栗色1764896#B030606189171#3D59AB粉红255192203#FFC0CB dodger blue30144255#1E90FF1353887#872657112370#0B1746橙红色250128114#FA8072锰蓝3168158#03A89E蕃茄红2559971#FF63472525112#191970桔红255690#FF4500孔雀蓝51161201#33A1C92550255#FF00FF土耳其玉色0199140#00C78C浅粉红#FFB6C1 255,182,193粉红#FFC0CB 255,192,203猩红/深红#DC143C 220,20,60淡紫红#FFF0F5 255,240,245弱紫罗兰红#DB7093 219,112,147热情的粉红#FF69B4 255,105,180深粉红#FF1493 255,20,147中紫罗兰红#C71585 199,21,133兰花紫#DA70D6 218,112,214蓟#D8BFD8 216,191,216李子紫#DDA0DD 221,160,221紫罗兰#EE82EE 238,130,238洋红/玫瑰红#FF00FF 255,0,255灯笼海棠/紫红#FF00FF 255,0,255深洋红#8B008B 139,0,139紫色#800080 128,0,128中兰花紫#BA55D3 186,85,211暗紫罗兰#9400D3 148,0,211暗兰花紫#9932CC 153,50,204靛青/紫兰色#4B0082 75,0,130蓝紫罗兰#8A2BE2 138,43,226中紫色#9370DB 147,112,219中板岩蓝#7B68EE 123,104,238板岩蓝#6A5ACD 106,90,205暗板岩蓝#483D8B 72,61,139熏衣草淡紫#E6E6FA 230,230,250幽灵白#F8F8FF 248,248,255纯蓝#0000FF 0,0,255中蓝色#0000CD 0,0,205午夜蓝#191970 25,25,112暗蓝色#00008B 0,0,139海军蓝#000080 0,0,128皇家蓝/宝蓝#4169E1 65,105,225矢车菊蓝#6495ED 100,149,237亮钢蓝#B0C4DE 176,196,222亮石板灰#778899 119,136,153石板灰#708090 112,128,144道奇蓝#1E90FF 30,144,255爱丽丝蓝#F0F8FF 240,248,255钢蓝/铁青#4682B4 70,130,180亮天蓝色#87CEFA 135,206,250天蓝色#87CEEB 135,206,235深天蓝#00BFFF 0,191,255亮蓝#ADD8E6 173,216,230火药青#B0E0E6 176,224,230军服蓝#5F9EA0 95,158,160蔚蓝色#F0FFFF 240,255,255淡青色#E0FFFF 224,255,255弱绿宝石#AFEEEE 175,238,238青色#00FFFF 0,255,255水色#00FFFF 0,255,255暗绿宝石#00CED1 0,206,209暗石板灰#2F4F4F 47,79,79暗青色#008B8B 0,139,139水鸭色#008080 0,128,128中绿宝石#41CC 72,209,204浅海洋绿#20B2AA 32,178,170绿宝石#40E0D0 64,224,208宝石碧绿#7FFFD4 127,255,212中宝石碧绿#66CDAA 102,205,170中春绿色#00FA9A 0,250,154薄荷奶油#F5FFFA 245,255,250春绿色#00FF7F 0,255,127中海洋绿#3CB371 60,179,113海洋绿#2E8B57 46,139,87蜜瓜色#F0FFF0 240,255,240淡绿色#90EE90 144,238,144弱绿色#98FB98 152,251,152暗海洋绿#8FBC8F 143,188,143闪光深绿#32CD32 50,205,50闪光绿#00FF00 0,255,0森林绿#228B22 34,139,34纯绿#008000 0,128,0暗绿色#006400 0,100,0查特酒绿#7FFF00 127,255,0草坪绿#7CFC00 124,252,0绿黄色#ADFF2F 173,255,47暗橄榄绿#556B2F 85,107,47黄绿色#9ACD32 154,205,50橄榄褐色#6B8E23 107,142,35米色/灰棕色#F5F5DC 245,245,220亮菊黄#FAFAD2 250,250,210象牙#FFFFF0 255,255,240浅黄色#FFFFE0 255,255,224纯黄#FFFF00 255,255,0橄榄#808000 128,128,0深卡叽布#BDB76B 189,183,107柠檬绸#FFFACD 255,250,205灰菊黄#EEE8AA 238,232,170卡叽布#F0E68C 240,230,140金色#FFD700 255,215,0玉米丝色#FFFC 255,248,220金菊黄#DAA520 218,165,32暗金菊黄#B8860B 184,134,11花的白色#FFFAF0 255,250,240旧蕾丝#FDF5E6 253,245,230小麦色#F5DEB3 245,222,179鹿皮靴#FFE4B5 255,228,181橙色#FFA500 255,165,0番木瓜#FFEFD5 255,239,213发白的杏仁色#FFEBCD 255,235,205土著白#FFDEAD 255,222,173古董白#FAEBD7 250,235,215茶色#D2B48C 210,180,140硬木色#DEB887 222,184,135陶坯黄#FFE4C4 255,228,196深橙色#FF8C00 255,140,0亚麻布#FAF0E6 250,240,230秘鲁#CD853F 205,133,63桃肉色#FFDAB9 255,218,185沙棕色#F4A460 244,164,96巧克力#D2691E 210,105,30马鞍棕色#8B4513 139,69,19海贝壳#FFF5EE 255,245,238黄土赭色#A0522D 160,82,45浅鲑鱼肉色#FFA07A 255,160,122珊瑚#FF7F50 255,127,80橙红色#FF4500 255,69,0深鲜肉/鲑鱼色#E9967A 233,150,122番茄红#FF6347 255,99,71薄雾玫瑰#FFE4E1 255,228,225鲜肉/鲑鱼色#FA8072 250,128,114雪#FFFAFA 255,250,250淡珊瑚色#F08080 240,128,128玫瑰棕色#BC8F8F 188,143,143印度红#CD5C5C 205,92,92纯红#FF0000 255,0,0棕色#A52A2A 165,42,42耐火砖#B22222 178,34,34深红色#8B0000 139,0,0栗色#800000 128,0,0纯白#FFFFFF 255,255,255白烟#F5F5F5 245,245,245庚斯博罗灰色#DCDCDC 220,220,220浅灰色#D3D3D3 211,211,211银灰色#C0C0C0 192,192,192深灰色#A9A9A9 169,169,169灰色#808080 128,128,128暗淡的灰色#696969 105,105,105纯黑#000000 0,0,0。
Android颜色设置
颜色RGB值英文名中文名#FFB6C1 LightPink 浅粉红#FFC0CB Pink 粉红#DC143C Crimson 深红/猩红#FFF0F5 LavenderBlush 淡紫红#DB7093 PaleVioletRed 弱紫罗兰红#FF69B4 HotPink 热情的粉红#FF1493 DeepPink 深粉红#C71585 MediumVioletRed 中紫罗兰红#DA70D6 Orchid 暗紫色/兰花紫#D8BFD8 Thistle 蓟色#DDA0DD Plum 洋李色/李子紫#EE82EE Violet 紫罗兰#FF00FF Magenta 洋红/玫瑰红#FF00FF Fuchsia 紫红/灯笼海棠#8B008B DarkMagenta 深洋红#800080 Purple 紫色#BA55D3 MediumOrchid 中兰花紫#9400D3 DarkViolet 暗紫罗兰#9932CC DarkOrchid 暗兰花紫#4B0082 Indigo 靛青/紫兰色#8A2BE2 BlueViolet 蓝紫罗兰#9370DB MediumPurple 中紫色#7B68EE MediumSlateBlue 中暗蓝色/中板岩蓝#6A5ACD SlateBlue 石蓝色/板岩蓝#483D8B DarkSlateBlue 暗灰蓝色/暗板岩蓝#E6E6FA Lavender 淡紫色/熏衣草淡紫#F8F8FF GhostWhite 幽灵白#0000FF Blue 纯蓝#0000CD MediumBlue 中蓝色#191970 MidnightBlue 午夜蓝#00008B DarkBlue 暗蓝色#000080 Navy 海军蓝#4169E1 RoyalBlue 皇家蓝/宝蓝#6495ED CornflowerBlue 矢车菊蓝#B0C4DE LightSteelBlue 亮钢蓝#778899 LightSlateGray 亮蓝灰/亮石板灰#708090 SlateGray 灰石色/石板灰#1E90FF DodgerBlue 闪兰色/道奇蓝#F0F8FF AliceBlue 爱丽丝蓝#4682B4 SteelBlue 钢蓝/铁青#87CEFA LightSkyBlue 亮天蓝色#87CEEB SkyBlue 天蓝色#00BFFF DeepSkyBlue 深天蓝#ADD8E6 LightBlue 亮蓝#B0E0E6 PowderBlue 粉蓝色/火药青#5F9EA0 CadetBlue 军兰色/军服蓝#F0FFFF Azure 蔚蓝色#E0FFFF LightCyan 淡青色#AFEEEE PaleTurquoise 弱绿宝石#00FFFF Cyan 青色#00FFFF Aqua 浅绿色/水色#00CED1 DarkTurquoise 暗绿宝石#2F4F4F DarkSlateGray 暗瓦灰色/暗石板灰#008B8B DarkCyan 暗青色#008080 Teal 水鸭色#48D1CC MediumTurquoise 中绿宝石#20B2AA LightSeaGreen 浅海洋绿#40E0D0 Turquoise 绿宝石#7FFFD4 Aquamarine 宝石碧绿#66CDAA MediumAquamarine 中宝石碧绿#00FA9A MediumSpringGreen 中春绿色#F5FFFA MintCream 薄荷奶油#00FF7F SpringGreen 春绿色#3CB371 MediumSeaGreen 中海洋绿#2E8B57 SeaGreen 海洋绿#F0FFF0 Honeydew 蜜色/蜜瓜色#90EE90 LightGreen 淡绿色#98FB98 PaleGreen 弱绿色#8FBC8F DarkSeaGreen 暗海洋绿#32CD32 LimeGreen 闪光深绿#00FF00 Lime 闪光绿#228B22 ForestGreen 森林绿#008000 Green 纯绿#006400 DarkGreen 暗绿色#7FFF00 Chartreuse 黄绿色/查特酒绿#7CFC00 LawnGreen 草绿色/草坪绿#ADFF2F GreenYellow 绿黄色#556B2F DarkOliveGreen 暗橄榄绿#9ACD32 YellowGreen 黄绿色#6B8E23 OliveDrab 橄榄褐色#F5F5DC Beige 米色/灰棕色#FAFAD2 LightGoldenrodYellow 亮菊黄#FFFFF0 Ivory 象牙色#FFFFE0 LightYellow 浅黄色#FFFF00 Yellow 纯黄#808000 Olive 橄榄#BDB76B DarkKhaki 暗黄褐色/深卡叽布#FFFACD LemonChiffon 柠檬绸#EEE8AA PaleGoldenrod 灰菊黄/苍麒麟色#F0E68C Khaki 黄褐色/卡叽布#FFD700 Gold 金色#FFF8DC Cornsilk 玉米丝色#DAA520 Goldenrod 金菊黄#B8860B DarkGoldenrod 暗金菊黄#FFFAF0 FloralWhite 花的白色#FDF5E6 OldLace 老花色/旧蕾丝#F5DEB3 Wheat 浅黄色/小麦色#FFE4B5 Moccasin 鹿皮色/鹿皮靴#FFA500 Orange 橙色#FFEFD5 PapayaWhip 番木色/番木瓜#FFEBCD BlanchedAlmond 白杏色#FFDEAD NavajoWhite 纳瓦白/土著白#FAEBD7 AntiqueWhite 古董白#D2B48C Tan 茶色#DEB887 BurlyWood 硬木色#FFE4C4 Bisque 陶坯黄#FF8C00 DarkOrange 深橙色#FAF0E6 Linen 亚麻布#CD853F Peru 秘鲁色#FFDAB9 PeachPuff 桃肉色#F4A460 SandyBrown 沙棕色#D2691E Chocolate 巧克力色#8B4513 SaddleBrown 重褐色/马鞍棕色#FFF5EE Seashell 海贝壳#A0522D Sienna 黄土赭色#FFA07A LightSalmon 浅鲑鱼肉色#FF7F50 Coral 珊瑚#FF4500 OrangeRed 橙红色#E9967A DarkSalmon 深鲜肉/鲑鱼色#FF6347 Tomato 番茄红#FFE4E1 MistyRose 浅玫瑰色/薄雾玫瑰#FA8072 Salmon 鲜肉/鲑鱼色#FFFAFA Snow 雪白色#F08080 LightCoral 淡珊瑚色#BC8F8F RosyBrown 玫瑰棕色#CD5C5C IndianRed 印度红#FF0000 Red 纯红#A52A2A Brown 棕色#B22222 FireBrick 火砖色/耐火砖#8B0000 DarkRed 深红色#800000 Maroon 栗色#FFFFFF White 纯白#F5F5F5 WhiteSmoke 白烟#DCDCDC Gainsboro 淡灰色#D3D3D3 LightGrey 浅灰色#C0C0C0 Silver 银灰色#A9A9A9 DarkGray 深灰色#808080 Gray 灰色#696969 DimGray 暗淡灰#000000 Black 纯黑Button或者ImageButton的背景设为透明或者半透明半透明<Button android:background="#e0000000" ... />透明<Button android:background="#00000000" ... />首先看一下Layout_weight属性的作用:它是用来分配属于空间的一个属性,你可以设置他的权重。
Android自定义Button字体颜色
Android自定义Button字体颜色2011-11-02 08:50:00 我来说两句收藏我要投稿 [字体:小大]我们可以使用selector来实现Button的特效,如图所示:默认情况获得焦点的时候点击按钮main.xmlXml代码<?xml version="1.0" encoding="utf-8"?><LinearLayoutxmlns:android="/apk/res/android"android:layout_width="fill_parent"android:layout_height="fill_parent"android:orientation="vertical" ><Buttonandroid:layout_width="fill_parent"android:layout_height="wrap_content"android:text="按下或者获得焦点Button会变不同颜色"<SPAN style="COLOR:#ff0000">android:textColor="@color/button_text" </SPAN>/></LinearLayout><?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="/apk/res/android" android:layout_width="fill_parent"android:layout_height="fill_parent"android:orientation="vertical" ><Buttonandroid:layout_width="fill_parent"android:layout_height="wrap_content"android:text="按下或者获得焦点Button会变不同颜色"android:textColor="@color/button_text" /></LinearLayout>XML 文件保存在res/color/button_text.xmlXml代码<?xml version="1.0" encoding="utf-8"?><selector xmlns:android="/apk/res/android" > <item android:state_pressed="true" android:color="#ffff0000"/> <!-- pressed --><item android:state_focused="true" android:color="#ff0000ff"/> <!-- focused --><item android:color="#ff000000"/> <!-- default --></selector>。
android 界面设计灰度标准
android 界面设计灰度标准在进行Android界面设计的过程中,灰度标准是一个非常重要的考虑因素。
通过使用灰度标准,可以帮助设计师创建出更加一致和统一的用户界面,提升用户体验。
下面将介绍一些参考内容,帮助你了解和应用Android界面设计的灰度标准。
1. 灰度概念和使用:灰度是指色彩明暗的程度,在界面设计中常常用来表示不同元素的层次和重要性。
比如,深灰色通常用于背景和边框,中灰色用于次要文本和按钮,浅灰色用于主要文本和重要的交互元素等。
要注意,灰度标准需要根据具体的设计风格和品牌风格进行调整和应用。
2. 灰度与配色方案:在设计界面时,灰度通常与配色方案相结合,形成整体的视觉效果。
在Android界面设计中,常用的配色方案包括单色调、互补色、类似色等。
通过将主色调和灰度相结合,可以突出主要元素,同时调和整体视觉效果。
3. 提取灰度值的工具:要精确地应用灰度标准,在界面设计过程中,需要使用一些工具来提取颜色的灰度值。
例如,Photoshop和Sketch等设计软件提供了取色工具和相关插件,可以方便地获取颜色的灰度值。
4. 灰度标准的设计原则:在应用灰度标准时,需要遵循一些设计原则,以确保界面的一致性和可读性。
首先,要选择适当的灰度范围,避免灰度过低或过高导致的可读性问题。
其次,在不同元素之间要有适当的对比度,以突出重要的信息和交互元素。
此外,要保持界面的空间层次感,通过不同灰度的组合和大小关系,创造出深度感。
5. 灰度标准的应用案例:为了更好地理解和应用灰度标准,可以参考一些优秀的案例。
例如,Google Material Design中的灰度标准就是一个很好的参考。
它使用了不同的灰度值来表示不同的元素和状态,例如背景、文本、按钮等。
通过学习这些案例,可以更好地掌握灰度标准的应用方法。
总结起来,灰度标准是Android界面设计中非常重要的一环。
它可以帮助设计师创建出一致和统一的用户界面,提升用户体验。
麦子学院Android开发教程颜色大全
本文详细列出了android开发中经常用到的颜色代码,有需要的网友可以收藏,以备不时之需。
<?xml version="1.0" encoding="UTF-8"?><resources><drawable name="darkgray">#A9A9A9</drawable><drawable name="white">#FFFFFF</drawable><drawable name="black">#000000</drawable><drawable name="green">#008000</drawable><drawable name="ivory">#FFFFF0</drawable><!-- 象牙色 --><drawable name="lightyellow">#FFFFE0</drawable><!--亮黄色 --><drawable name="yellow">#FFFF00</drawable><!--黄色 --><drawable name="snow">#FFFAFA</drawable><!--雪白色 --><drawable name="floralwhite">#FFFAF0</drawable><!--花白色 --><drawable name="lemonchiffon">#FFFACD</drawable><!--柠檬绸色 --><drawable name="cornsilk">#FFF8DC</drawable><!--米绸色 --><drawable name="seashell">#FFF5EE</drawable><!--海贝色 --><drawable name="lavenderblush">#FFF0F5</drawable><!--淡紫红 --><drawable name="papayawhip">#FFEFD5</drawable><!--番木色 --><drawable name="blanchedalmond">#FFEBCD</drawable><!--白杏色 --><drawable name="mistyrose">#FFE4E1</drawable><!--浅玫瑰色 --><drawable name="bisque">#FFE4C4</drawable><!--桔黄色 --><drawable name="moccasin">#FFE4B5</drawable><!--鹿皮色 --><drawable name="navajowhite">#FFDEAD</drawable><!--纳瓦白 --><drawable name="peachpuff">#FFDAB9</drawable><!--桃色 --><drawable name="gold">#FFD700</drawable><!--金色 --><drawable name="pink">#FFC0CB</drawable><!--粉红色 --><drawable name="lightpink">#FFB6C1</drawable><!--亮粉红色 --><drawable name="orange">#FFA500</drawable><!--橙色 --><drawable name="lightsalmon">#FFA07A</drawable><!--亮肉色 --><drawable name="darkorange">#FF8C00</drawable><!--暗桔黄色 --><drawable name="coral">#FF7F50</drawable><!--珊瑚色 --><drawable name="hotpink">#FF69B4</drawable><!--热粉红色 --><drawable name="tomato">#FF6347</drawable><!--西红柿色 --><drawable name="orangered">#FF4500</drawable><!--红橙色 --><drawable name="deeppink">#FF1493</drawable><!--深粉红色 --><drawable name="fuchsia">#FF00FF</drawable><!--紫红色 --><drawable name="magenta">#FF00FF</drawable><!--红紫色 --><drawable name="red">#FF0000</drawable><!--红色 --><drawable name="oldlace">#FDF5E6</drawable><!--老花色 --><drawable name="lightgoldenrodyellow">#FAFAD2</drawable><!--亮金黄色 --> <drawable name="linen">#FAF0E6</drawable><!--亚麻色 --><drawable name="antiquewhite">#FAEBD7</drawable><!--古董白 --><drawable name="salmon">#FA8072</drawable><!--鲜肉色 --><drawable name="ghostwhite">#F8F8FF</drawable><!--幽灵白 --><drawable name="mintcream">#F5FFFA</drawable><!--薄荷色 --><drawable name="whitesmoke">#F5F5F5</drawable><!--烟白色 --><drawable name="beige">#F5F5DC</drawable><!--米色 --><drawable name="wheat">#F5DEB3</drawable><!--浅黄色 --><drawable name="sandybrown">#F4A460</drawable><!--沙褐色 --><drawable name="azure">#F0FFFF</drawable><!--天蓝色 --><drawable name="honeydew">#F0FFF0</drawable><!--蜜色 --><drawable name="aliceblue">#F0F8FF</drawable><!--艾利斯兰 --><drawable name="khaki">#F0E68C</drawable><!--黄褐色 --><drawable name="lightcoral">#F08080</drawable><!--亮珊瑚色 --><drawable name="palegoldenrod">#EEE8AA</drawable><!--苍麒麟色 --><drawable name="violet">#EE82EE</drawable><!--紫罗兰色 --><drawable name="darksalmon">#E9967A</drawable><!--暗肉色 --><drawable name="lavender">#E6E6FA</drawable><!--淡紫色 --><drawable name="lightcyan">#E0FFFF</drawable><!--亮青色 --><drawable name="burlywood">#DEB887</drawable><!--实木色 --><drawable name="plum">#DDA0DD</drawable><!--洋李色 --><drawable name="gainsboro">#DCDCDC</drawable><!--淡灰色 --><drawable name="crimson">#DC143C</drawable><!--暗深红色 --><drawable name="palevioletred">#DB7093</drawable><!--苍紫罗兰色--><drawable name="goldenrod">#DAA520</drawable><!--金麒麟色 --><drawable name="orchid">#DA70D6</drawable><!--淡紫色 --><drawable name="thistle">#D8BFD8</drawable><!--蓟色 --><drawable name="lightgray">#D3D3D3</drawable><!--亮灰色 --><drawable name="lightgrey">#D3D3D3</drawable><!--亮灰色 --><drawable name="tan">#D2B48C</drawable><!--茶色 --><drawable name="chocolate">#D2691E</drawable><!--巧可力色 --><drawable name="peru">#CD853F</drawable><!--秘鲁色 --><drawable name="indianred">#CD5C5C</drawable><!--印第安红 --><drawable name="mediumvioletred">#C71585</drawable><!--中紫罗兰色 --> <drawable name="silver">#C0C0C0</drawable><!--银色 --><drawable name="darkkhaki">#BDB76B</drawable><!--暗黄褐色 --><drawable name="rosybrown">#BC8F8F</drawable><!--褐玫瑰红 --><drawable name="mediumorchid">#BA55D3</drawable><!--中粉紫色 --><drawable name="darkgoldenrod">#B8860B</drawable><!--暗金黄色 --><drawable name="firebrick">#B22222</drawable><!--火砖色 --><drawable name="powderblue">#B0E0E6</drawable><!--粉蓝色 --><drawable name="lightsteelblue">#B0C4DE</drawable><!--亮钢兰色--><drawable name="paleturquoise">#AFEEEE</drawable><!--苍宝石绿 --><drawable name="greenyellow">#ADFF2F</drawable><!--黄绿色 --><drawable name="lightblue">#ADD8E6</drawable><!--亮蓝色 --><drawable name="brown">#A52A2A</drawable><!--褐色 --><drawable name="sienna">#A0522D</drawable><!--赭色 --><drawable name="darkorchid">#9932CC</drawable><!--暗紫色 --><drawable name="palegreen">#98FB98</drawable><!--苍绿色 --><drawable name="darkviolet">#9400D3</drawable><!--暗紫罗兰色 --><drawable name="mediumpurple">#9370DB</drawable><!--中紫色 --><drawable name="lightgreen">#90EE90</drawable><!--亮绿色 --><drawable name="darkseagreen">#8FBC8F</drawable><!--暗海兰色 --><drawable name="saddlebrown">#8B4513</drawable><!--重褐色 --><drawable name="darkmagenta">#8B008B</drawable><!--暗洋红 --><drawable name="darkred">#8B0000</drawable><!--暗红色 --><drawable name="blueviolet">#8A2BE2</drawable><!--紫罗兰蓝色 --><drawable name="lightskyblue">#87CEFA</drawable><!--亮天蓝色 --><drawable name="skyblue">#87CEEB</drawable><!--天蓝色 --><drawable name="gray">#808080</drawable><!--灰色 --><drawable name="grey">#808080</drawable><!--灰色 --><drawable name="olive">#808000</drawable><!--橄榄色 --><drawable name="purple">#800080</drawable><!--紫色 --><drawable name="maroon">#800000</drawable><!--粟色 --><drawable name="aquamarine">#7FFFD4</drawable><!--碧绿色 --><drawable name="chartreuse">#7FFF00</drawable><!--黄绿色 --><drawable name="lawngreen">#7CFC00</drawable><!--草绿色 --><drawable name="mediumslateblue">#7B68EE</drawable><!--中暗蓝色--> <drawable name="lightslategray">#778899</drawable><!--亮蓝灰 --><drawable name="lightslategrey">#778899</drawable><!--亮蓝灰 --><drawable name="slategray">#708090</drawable><!--灰石色 --><drawable name="slategrey">#708090</drawable><!--灰石色 --><drawable name="olivedrab">#6B8E23</drawable><!--深绿褐色 --><drawable name="slateblue">#6A5ACD</drawable><!--石蓝色 --><drawable name="dimgray">#696969</drawable><!--暗灰色 --><drawable name="dimgrey">#696969</drawable><!--暗灰色 --><drawable name="mediumaquamarine">#66CDAA</drawable><!--中绿色--> <drawable name="cornflowerblue">#6495ED</drawable><!--菊兰色 --><drawable name="cadetblue">#5F9EA0</drawable><!--军兰色 --><drawable name="darkolivegreen">#556B2F</drawable><!--暗橄榄绿 --><drawable name="indigo">#4B0082</drawable><!--靛青色 --><drawable name="mediumturquoise">#48D1CC</drawable><!--中绿宝石--> <drawable name="darkslateblue">#483D8B</drawable><!--暗灰蓝色 --><drawable name="steelblue">#4682B4</drawable><!--钢兰色 --><drawable name="royalblue">#4169E1</drawable><!--皇家蓝 --><drawable name="turquoise">#40E0D0</drawable><!--青绿色 --><drawable name="mediumseagreen">#3CB371</drawable><!--中海蓝 --><drawable name="limegreen">#32CD32</drawable><!--橙绿色 --><drawable name="darkslategray">#2F4F4F</drawable><!--暗瓦灰色 --><drawable name="darkslategrey">#2F4F4F</drawable><!--暗瓦灰色 --><drawable name="seagreen">#2E8B57</drawable><!--海绿色 --><drawable name="forestgreen">#228B22</drawable><!--森林绿 --><drawable name="lightseagreen">#20B2AA</drawable><!--亮海蓝色 --><drawable name="dodgerblue">#1E90FF</drawable><!--闪兰色 --><drawable name="midnightblue">#191970</drawable><!--中灰兰色 --><drawable name="aqua">#00FFFF</drawable><!--浅绿色 --><drawable name="cyan">#00FFFF</drawable><!--青色 --><drawable name="springgreen">#00FF7F</drawable><!--春绿色 --><drawable name="lime">#00FF00</drawable><!--酸橙色 --><drawable name="mediumspringgreen">#00FA9A</drawable><!--中春绿色 --> <drawable name="darkturquoise">#00CED1</drawable><!--暗宝石绿 --><drawable name="deepskyblue">#00BFFF</drawable><!--深天蓝色 --><drawable name="darkcyan">#008B8B</drawable><!--暗青色 --><drawable name="teal">#008080</drawable><!--水鸭色 --><drawable name="darkgreen">#006400</drawable><!--暗绿色 --><drawable name="blue">#0000FF</drawable><!--蓝色 --><drawable name="mediumblue">#0000CD</drawable><!--中兰色 --><drawable name="darkblue">#00008B</drawable><!--暗蓝色 --><drawable name="navy">#000080</drawable><!--海军色 --></resources>如需了解更多相关知识,请至麦子学院官网查询(/)。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Android常用RGB值以及中英文
名称
颜色RGB值英文名中文名
#FFB6C1 LightPink 浅粉红
#FFC0CB Pink 粉红
#DC143C Crimson 深红/猩红
#FFF0F5 LavenderBlush 淡紫红
#DB7093 PaleVioletRed 弱紫罗兰红
#FF69B4 HotPink 热情的粉红
#FF1493 DeepPink 深粉红
#C71585 MediumVioletRed 中紫罗兰红
#DA70D6 Orchid 暗紫色/兰花紫
#D8BFD8 Thistle 蓟色
#DDA0DD Plum 洋李色/李子紫
#EE82EE Violet 紫罗兰
#FF00FF Magenta 洋红/玫瑰红
#FF00FF Fuchsia 紫红/灯笼海棠
#8B008B DarkMagenta 深洋红
#800080 Purple 紫色
#BA55D3 MediumOrchid 中兰花紫
#9400D3 DarkViolet 暗紫罗兰
#9932CC DarkOrchid 暗兰花紫
#4B0082 Indigo 靛青/紫兰色
#8A2BE2 BlueViolet 蓝紫罗兰
#9370DB MediumPurple 中紫色
#7B68EE MediumSlateBlue 中暗蓝色/中板岩蓝
#6A5ACD SlateBlue 石蓝色/板岩蓝
#483D8B DarkSlateBlue 暗灰蓝色/暗板岩蓝
#E6E6FA Lavender 淡紫色/熏衣草淡紫
#F8F8FF GhostWhite 幽灵白
#0000FF Blue 纯蓝
#0000CD MediumBlue 中蓝色
#191970 MidnightBlue 午夜蓝
#00008B DarkBlue 暗蓝色
#000080 Navy 海军蓝
#4169E1 RoyalBlue 皇家蓝/宝蓝
#6495ED CornflowerBlue 矢车菊蓝
#B0C4DE LightSteelBlue 亮钢蓝
#778899 LightSlateGray 亮蓝灰/亮石板灰
#708090 SlateGray 灰石色/石板灰
#1E90FF DodgerBlue 闪兰色/道奇蓝
#F0F8FF AliceBlue 爱丽丝蓝
#4682B4 SteelBlue 钢蓝/铁青
#87CEFA LightSkyBlue 亮天蓝色
#87CEEB SkyBlue 天蓝色
#00BFFF DeepSkyBlue 深天蓝
#ADD8E6 LightBlue 亮蓝
#B0E0E6 PowderBlue 粉蓝色/火药青#5F9EA0 CadetBlue 军兰色/军服蓝#F0FFFF Azure 蔚蓝色
#E0FFFF LightCyan 淡青色
#AFEEEE PaleTurquoise 弱绿宝石
#00FFFF Cyan 青色
#00FFFF Aqua 浅绿色/水色
#00CED1 DarkTurquoise 暗绿宝石
#2F4F4F DarkSlateGray 暗瓦灰色/暗石板灰#008B8B DarkCyan 暗青色
#008080 Teal 水鸭色
#48D1CC MediumTurquoise 中绿宝石
#20B2AA LightSeaGreen 浅海洋绿
#40E0D0 Turquoise 绿宝石
#7FFFD4 Aquamarine 宝石碧绿
#66CDAA MediumAquamarine 中宝石碧绿
#00FA9A MediumSpringGreen 中春绿色
#F5FFFA MintCream 薄荷奶油
#00FF7F SpringGreen 春绿色
#3CB371 MediumSeaGreen 中海洋绿
#2E8B57 SeaGreen 海洋绿
#F0FFF0 Honeydew 蜜色/蜜瓜色
#90EE90 LightGreen 淡绿色
#98FB98 PaleGreen 弱绿色
#8FBC8F DarkSeaGreen 暗海洋绿
#32CD32 LimeGreen 闪光深绿
#00FF00 Lime 闪光绿
#228B22 ForestGreen 森林绿
#008000 Green 纯绿
#006400 DarkGreen 暗绿色
#7FFF00 Chartreuse 黄绿色/查特酒绿#7CFC00 LawnGreen 草绿色/草坪绿#ADFF2F GreenYellow 绿黄色
#556B2F DarkOliveGreen 暗橄榄绿
#9ACD32 YellowGreen 黄绿色
#6B8E23 OliveDrab 橄榄褐色
#F5F5DC Beige 米色/灰棕色
#FAFAD2LightGoldenrodYellow 亮菊黄
#FFFFF0Ivory 象牙色
#FFFFE0 LightYellow 浅黄色
#FFFF00 Yellow 纯黄
#808000 Olive 橄榄
#BDB76B DarkKhaki 暗黄褐色/深卡叽布#FFFACD LemonChiffon 柠檬绸
#EEE8AA PaleGoldenrod 灰菊黄/苍麒麟色#F0E68C Khaki 黄褐色/卡叽布#FFD700 Gold 金色
#FFF8DC Cornsilk 玉米丝色
#DAA520 Goldenrod 金菊黄
#B8860B DarkGoldenrod 暗金菊黄
#FFFAF0FloralWhite 花的白色
#FDF5E6 OldLace 老花色/旧蕾丝#F5DEB3 Wheat 浅黄色/小麦色#FFE4B5 Moccasin 鹿皮色/鹿皮靴#FFA500 Orange 橙色
#FFEFD5 PapayaWhip 番木色/番木瓜#FFEBCD BlanchedAlmond 白杏色
#FFDEAD NavajoWhite 纳瓦白/土著白#FAEBD7 AntiqueWhite 古董白
#D2B48C Tan 茶色
#DEB887 BurlyWood 硬木色
#FFE4C4 Bisque 陶坯黄
#FF8C00 DarkOrange 深橙色
#FAF0E6Linen 亚麻布
#CD853F Peru 秘鲁色
#FFDAB9PeachPuff 桃肉色
#F4A460 SandyBrown 沙棕色
#D2691E Chocolate 巧克力色
#8B4513 SaddleBrown 重褐色/马鞍棕色#FFF5EE Seashell 海贝壳
#A0522D Sienna 黄土赭色
#FFA07A LightSalmon 浅鲑鱼肉色
#FF7F50 Coral 珊瑚
#FF4500 OrangeRed 橙红色
#E9967A DarkSalmon 深鲜肉/鲑鱼色#FF6347 Tomato 番茄红
#FFE4E1 MistyRose 浅玫瑰色/薄雾玫瑰#FA8072 Salmon 鲜肉/鲑鱼色
#FFFAFA Snow 雪白色
#F08080 LightCoral 淡珊瑚色
#BC8F8F RosyBrown 玫瑰棕色
#CD5C5C IndianRed 印度红
#FF0000 Red 纯红
#A52A2A Brown 棕色
#B22222 FireBrick 火砖色/耐火砖
#8B0000 DarkRed 深红色
#800000 Maroon 栗色
#FFFFFF White 纯白
#F5F5F5 WhiteSmoke 白烟
#DCDCDC Gainsboro 淡灰色
#D3D3D3 LightGrey 浅灰色
#C0C0C0 Silver 银灰色
#A9A9A9DarkGray 深灰色
#808080 Gray 灰色
#696969 DimGray 暗淡灰
#000000 Black 纯黑
Button或者ImageButton的背景设为透明或者半透明
半透明<Button android:background="#e0000000" ... /> 透明<Button android:background="#00000000" ... />。