技术 > 十六进制颜色码
目录
No. 1
  我们在编程中常常用到十六进制颜色码,下面是颜色码对照表-英文名称-十六进制-rgb:
  英文代码 形像颜色 hex格式 rgb格式
    lightpink 浅粉红 #ffb6c1255,182,193
    pink 粉红 #ffc0cb255,192,203
    crimson 猩红 #dc143c220,20,60
    lavenderblush 脸红的淡紫色 #fff0f5255,240,245
    palevioletred 苍白的紫罗兰红色 #db7093219,112,147
    hotpink 热情的粉红 #ff69b4255,105,180
    deeppink 深粉色 #ff1493255,20,147
    mediumvioletred 适中的紫罗兰红色 #c71585199,21,133
    orchid 兰花的紫色 #da70d6218,112,214
    thistle 蓟 #d8bfd8216,191,216
    plum 李子 #dda0dd221,160,221
    violet 紫罗兰 #ee82ee238,130,238
    magenta 洋红 #ff00ff255,0,255
    fuchsia 灯笼海棠(紫红色) #ff00ff255,0,255
    darkmagenta 深洋红色 #8b008b139,0,139
    purple 紫色 #800080128,0,128
    mediumorchid 适中的兰花紫 #ba55d3186,85,211
    darkvoilet 深紫罗兰色 #9400d3148,0,211
    darkorchid 深兰花紫 #9932cc153,50,204
    indigo 靛青 #4b008275,0,130
    blueviolet 深紫罗兰的蓝色 #8a2be2138,43,226
    mediumpurple 适中的紫色 #9370db147,112,219
    mediumslateblue 适中的板岩暗蓝灰色 #7b68ee123,104,238
    slateblue 板岩暗蓝灰色 #6a5acd106,90,205
    darkslateblue 深岩暗蓝灰色 #483d8b72,61,139
    lavender 薰衣草花的淡紫色 #e6e6fa230,230,250
    ghostwhite 幽灵的白色 #f8f8ff248,248,255
    blue 纯蓝 #0000ff0,0,255
    mediumblue 适中的蓝色 #0000cd0,0,205
    midnightblue 午夜的蓝色 #19197025,25,112
    darkblue 深蓝色 #00008b0,0,139
    navy 海军蓝 #0000800,0,128
    royalblue 皇军蓝 #4169e165,105,225
    cornflowerblue 矢车菊的蓝色 #6495ed100,149,237
    lightsteelblue 淡钢蓝 #b0c4de176,196,222
    lightslategray 浅石板灰 #778899119,136,153
    slategray 石板灰 #708090112,128,144
    doderblue 道奇蓝 #1e90ff30,144,255
    aliceblue 爱丽丝蓝 #f0f8ff240,248,255
    steelblue 钢蓝 #4682b470,130,180
    lightskyblue 淡蓝色 #87cefa135,206,250
    skyblue 天蓝色 #87ceeb135,206,235
    deepskyblue 深天蓝 #00bfff0,191,255
    lightblue 淡蓝 #add8e6173,216,230
    powderblue 火药蓝 #b0e0e6176,224,230
    cadetblue 军校蓝 #5f9ea095,158,160
    azure 蔚蓝色 #f0ffff240,255,255
    lightcyan 淡青色 #e1ffff225,255,255
    paleturquoise 苍白的绿宝石 #afeeee175,238,238
    cyan 青色 #00ffff0,255,255
    aqua 水绿色 #00ffff0,255,255
    darkturquoise 深绿宝石 #00ced10,206,209
    darkslategray 深石板灰 #2f4f4f47,79,79
    darkcyan 深青色 #008b8b0,139,139
    teal 水鸭色 #0080800,128,128
    mediumturquoise 适中的绿宝石 #48d1cc72,209,204
    lightseagreen 浅海洋绿 #20b2aa32,178,170
    turquoise 绿宝石 #40e0d064,224,208
    auqamarin 绿玉碧绿色 #7fffaa127,255,170
    mediumaquamarine 适中的碧绿色 #00fa9a0,250,154
    mediumspringgreen 适中的春天的绿色 #f5fffa245,255,250
    mintcream 薄荷奶油 #00ff7f0,255,127
    springgreen 春天的绿色 #3cb37160,179,113
    seagreen 海洋绿 #2e8b5746,139,87
    honeydew 蜂蜜 #f0fff0240,255,240
    lightgreen 淡绿色 #90ee90144,238,144
    palegreen 苍白的绿色 #98fb98152,251,152
    darkseagreen 深海洋绿 #8fbc8f143,188,143
    limegreen 酸橙绿 #32cd3250,205,50
    lime 酸橙色 #00ff000,255,0
    forestgreen 森林绿 #228b2234,139,34
    green 纯绿 #0080000,128,0
    darkgreen 深绿色 #0064000,100,0
    chartreuse 查特酒绿 #7fff00127,255,0
    lawngreen 草坪绿 #7cfc00124,252,0
    greenyellow 绿黄色 #adff2f173,255,47
    olivedrab 橄榄土褐色 #556b2f85,107,47
    beige 米色(浅褐色) #6b8e23107,142,35
    lightgoldenrodyellow 浅秋麒麟黄 #fafad2250,250,210
    ivory 象牙 #fffff0255,255,240
    lightyellow 浅黄色 #ffffe0255,255,224
    yellow 纯黄 #ffff00255,255,0
    olive 橄榄 #808000128,128,0
    darkkhaki 深卡其布 #bdb76b189,183,107
    lemonchiffon 柠檬薄纱 #fffacd255,250,205
    palegodenrod 灰秋麒麟 #eee8aa238,232,170
    khaki 卡其布 #f0e68c240,230,140
    gold 金 #ffd700255,215,0
    cornislk 玉米色 #fff8dc255,248,220
    goldenrod 秋麒麟 #daa520218,165,32
    floralwhite 花的白色 #fffaf0255,250,240
    oldlace 老饰带 #fdf5e6253,245,230
    wheat 小麦色 #f5deb3245,222,179
    moccasin 鹿皮鞋 #ffe4b5255,228,181
    orange 橙色 #ffa500255,165,0
    papayawhip 番木瓜 #ffefd5255,239,213
    blanchedalmond 漂白的杏仁 #ffebcd255,235,205
    navajowhite navajo白 #ffdead255,222,173
    antiquewhite 古代的白色 #faebd7250,235,215
    tan 晒黑 #d2b48c210,180,140
    brulywood 结实的树 #deb887222,184,135
    bisque (浓汤)乳脂,番茄等 #ffe4c4255,228,196
    darkorange 深橙色 #ff8c00255,140,0
    linen 亚麻布 #faf0e6250,240,230
    peru 秘鲁 #cd853f205,133,63
    peachpuff 桃色 #ffdab9255,218,185
    sandybrown 沙棕色 #f4a460244,164,96
    chocolate 巧克力 #d2691e210,105,30
    saddlebrown 马鞍棕色 #8b4513139,69,19
    seashell 海贝壳 #fff5ee255,245,238
    sienna 黄土赭色 #a0522d160,82,45
    lightsalmon 浅鲜肉(鲑鱼)色 十六进制颜色码#ffa07a255,160,122
    coral 珊瑚 #ff7f50255,127,80
    orangered 橙红色 #ff4500255,69,0
    darksalmon 深鲜肉(鲑鱼)色 #e9967a233,150,122
    tomato 番茄 #ff6347255,99,71
    mistyrose 薄雾玫瑰 #ffe4e1255,228,225
    salmon 鲜肉(鲑鱼)色 #fa8072250,128,114
    snow 雪 #fffafa255,250,250
    lightcoral 淡珊瑚色 #f08080240,128,128
    rosybrown 玫瑰棕色 #bc8f8f188,143,143
    indianred 印度红 #cd5c5c205,92,92
    red 纯红 #ff0000255,0,0
    brown 棕色 #a52a2a165,42,42
    firebrick 耐火砖 #b22222178,34,34
    darkred 深红色 #8b0000139,0,0
    maroon 栗色 #800000128,0,0
    white 纯白 #ffffff255,255,255
    whitesmoke 白烟 #f5f5f5245,245,245
    gainsboro gainsboro #dcdcdc220,220,220
    lightgrey 浅灰色 #d3d3d3211,211,211
    silver 银白色 #c0c0c0192,192,192
    darkgray 深灰色 #a9a9a9169,169,169
    gray 灰色 #808080128,128,128
    dimgray 暗淡的灰色 #696969105,105,105
    black 纯黑 #0000000,0,0
No. 2
  我们在编程中常常用到十六进制颜色码,下面是颜色码对照表-英文名称-十六进制-RGB:
  英文代码 形像颜色 HEX格式 RGB格式
  LightPink浅粉色#FFB6C1255,182,193Pink粉红#FFC0CB255,192,203Crimson猩红#DC143C220,20,60LavenderBlush脸红的淡紫色#FFF0F5255,240,245PaleVioletRed苍白的紫罗兰红色#DB7093219,112,147HotPink热情的粉红#FF69B4255,105,180DeepPink深粉色#FF1493255,20,147MediumVioletRed适中的紫罗兰红色#C71585199,21,133Orchid兰花的紫色#DA70D6218,112,214Thistle蓟#D8BFD8216,191,216plum李子#DDA0DD221,160,221Violet紫罗兰#EE82EE238,130,238Magenta洋红#FF00FF255,0,255Fuchsia灯笼海棠(紫红色)#FF00FF255,0,255DarkMagenta深洋红色#8B008B139,0,139Purple紫色#800080128,0,128MediumOrchid适中的兰花紫#BA55D3186,85,211DarkVoilet深紫罗兰色#9400D3148,0,211DarkOrchid深兰花紫#9932CC153,50,204Indigo靛青#4B008275,0,130BlueViolet深紫罗兰的蓝色#8A2BE2138,43,226MediumPurple适中的紫色#9370DB147,112,219MediumSlateBlue适中的板岩暗蓝灰色#7B68EE123,104,238SlateBlue板岩暗蓝灰色#6A5ACD106,90,205DarkSlateBlue深岩暗蓝灰色#483D8B72,61,139Lavender薰衣草花的淡紫色#E6E6FA230,230,250GhostWhite幽灵的白色#F8F8FF248,248,255Blue纯蓝#0000FF0,0,255MediumBlue适中的蓝色#0000CD0,0,205MidnightBlue午夜的蓝色#19197025,25,112DarkBlue深蓝色#00008B0,0,139Navy海军蓝#0000800,0,128RoyalBlue皇军蓝#4169E165,105,225CornflowerBlue矢车菊的蓝色#6495ED100,149,237LightSteelBlue淡钢蓝#B0C4DE176,196,222LightSlateGray浅石板灰#778899119,136,153SlateGray石板灰#708090112,128,144DoderBlue道奇蓝#1E90FF30,144,255AliceBlue爱丽丝蓝#F0F8FF240,248,255SteelBlue钢蓝#4682B470,130,180LightSkyBlue淡蓝色#87CEFA135,206,250SkyBlue天蓝色#87CEEB135,206,235DeepSkyBlue深天蓝#00BFFF0,191,255LightBLue淡蓝#ADD8E6173,216,230PowDerBlue火药蓝#B0E0E6176,224,230CadetBlue军校蓝#5F9EA095,158,160Azure蔚蓝色#F0FFFF240,255,255LightCyan淡青色#E1FFFF225,255,255PaleTurquoise苍白的绿宝石#AFEEEE175,238,238Cyan青色#00FFFF0,255,255Aqua水绿色#00FFFF0,255,255DarkTurquoise深绿宝石#00CED10,206,209DarkSlateGray深石板灰#2F4F4F47,79,79DarkCyan深青色#008B8B0,139,139Teal水鸭色#0080800,128,128MediumTurquoise适中的绿宝石#48D1CC72,209,204LightSeaGreen浅海洋绿#20B2AA32,178,170Turquoise绿宝石#40E0D064,224,208Auqamarin绿玉碧绿色#7FFFAA127,255,170MediumAquamarine适中的碧绿色#00FA9A0,250,154MediumSpringGreen适中的春天的绿色#F5FFFA245,255,250MintCream薄荷奶油#00FF7F0,255,127SpringGreen春天的绿色#3CB37160,179,113SeaGreen海洋绿#2E8B5746,139,87Honeydew蜂蜜#F0FFF0240,255,240LightGreen淡绿色#90EE90144,238,144PaleGreen苍白的绿色#98FB98152,251,152DarkSeaGreen深海洋绿#8FBC8F143,188,143LimeGreen酸橙绿#32CD3250,205,50Lime酸橙色#00FF000,255,0ForestGreen森林绿#228B2234,139,34Green纯绿#0080000,128,0DarkGreen深绿色#0064000,100,0Chartreuse查特酒绿#7FFF00127,255,0LawnGreen草坪绿#7CFC00124,252,0GreenYellow绿黄色#ADFF2F173,255,47OliveDrab橄榄土褐色#556B2F85,107,47Beige米色(浅褐色)#6B8E23107,142,35LightGoldenrodYellow浅秋麒麟黄#FAFAD2250,250,210Ivory象牙#FFFFF0255,255,240LightYellow浅黄色#FFFFE0255,255,224Yellow纯黄#FFFF00255,255,0Olive橄榄#808000128,128,0DarkKhaki深卡其布#BDB76B189,183,107LemonChiffon柠檬薄纱#FFFACD255,250,205PaleGodenrod灰秋麒麟#EEE8AA238,232,170Khaki卡其布#F0E68C240,230,140Gold金#FFD700255,215,0Cornislk玉米色#FFF8DC255,248,220GoldEnrod秋麒麟#DAA520218,165,32FloralWhite花的白色#FFFAF0255,250,240OldLace老饰带#FDF5E6253,245,230Wheat小麦色#F5DEB3245,222,179Moccasin鹿皮鞋#FFE4B5255,228,181Orange橙色#FFA500255,165,0PapayaWhip番木瓜#FFEFD5255,239,213BlanchedAlmond漂白的杏仁#FFEBCD255,235,205NavajoWhiteNavajo白#FFDEAD255,222,173AntiqueWhite古代的白色#FAEBD7250,235,215Tan晒黑#D2B48C210,180,140BrulyWood结实的树#DEB887222,184,135Bisque(浓汤)乳脂,番茄等#FFE4C4255,228,196DarkOrange深橙色#FF8C00255,140,0Linen亚麻布#FAF0E6250,240,230Peru秘鲁#CD853F205,133,63PeachPuff桃色#FFDAB9255,218,185SandyBrown沙棕色#F4A460244,164,96Chocolate巧克力#D2691E210,105,30SaddleBrown马鞍棕色#8B4513139,69,19SeaShell海贝壳#FFF5EE255,245,238Sienna黄土赭色#A0522D160,82,45LightSalmon浅鲜肉(鲑鱼)色#FFA07A255,160,122Coral珊瑚#FF7F50255,127,80OrangeRed橙红色#FF4500255,69,0DarkSalmon深鲜肉(鲑鱼)色#E9967A233,150,122Tomato番茄#FF6347255,99,71MistyRose薄雾玫瑰#FFE4E1255,228,225Salmon鲜肉(鲑鱼)色#FA8072250,128,114Snow雪#FFFAFA255,250,250LightCoral淡珊瑚色#F08080240,128,128RosyBrown玫瑰棕色#BC8F8F188,143,143IndianRed印度红#CD5C5C205,92,92Red纯红#FF0000255,0,0Brown棕色#A52A2A165,42,42FireBrick耐火砖#B22222178,34,34DarkRed深红色#8B0000139,0,0Maroon栗色#800000128,0,0White纯白#FFFFFF255,255,255WhiteSmoke白烟#F5F5F5245,245,245GainsboroGainsboro#DCDCDC220,220,220LightGrey浅灰色#D3D3D3211,211,211Silver银白色#C0C0C0192,192,192DarkGray深灰色#A9A9A9169,169,169Gray灰色#808080128,128,128DimGray暗淡的灰色#696969105,105,105Black纯黑#0000000,0,0