技術 > 十六進製顔色碼
目錄
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