编辑这个页面须要登录或更高权限!

CSS 合法颜色名称

扩展颜色关键字

颜色名称不区分大小写.

基础颜色关键字

下表列出了CSS 2.1规范中定义的基本颜色关键字。

ColorColor NameHex ValueRGB ValueDemo

aqua#00FFFFrgb(0, 255, 255)查看

black#000000rgb(0, 0, 0)查看

blue#0000FFrgb(0, 0, 255)查看

fuchsia#FF00FFrgb(255, 0, 255)查看

gray#808080rgb(128, 128, 128)查看

green#008000rgb(0, 128, 0)查看

lime#00FF00rgb(0, 255, 0)查看

maroon#800000rgb(128, 0, 0)查看

navy#000080rgb(0, 0, 128)查看

olive#808000rgb(128, 128, 0)查看

orange#FFA500rgb(255, 165, 0)查看

purple#800080rgb(128, 0, 128)查看

red#FF0000rgb(255, 0, 0)查看

silver#C0C0C0rgb(192, 192, 192)查看

teal#008080rgb(0, 128, 128)查看

white#FFFFFFrgb(255, 255, 255)查看

yellow#FFFF00rgb(255, 255, 0)查看

扩展颜色关键字

下表列出了css3规范中定义的扩展颜色关键字.

ColorColor NameHex ValueRGB Value查看

aliceblue#F0F8FFrgb(240, 248, 255)查看

antiquewhite#FAEBD7rgb(250, 235, 215)查看

aqua#00FFFFrgb(0, 255, 255)查看

aquamarine#7FFFD4rgb(127, 255, 212)查看

azure#F0FFFFrgb(1240, 255, 255)查看

beige#F5F5DCrgb(245, 245, 220)查看

bisque#FFE4C4rgb(255, 228, 196)查看

black#000000rgb(0, 0, 0)查看

blanchedalmond#FFEBCDrgb(255, 235, 205)查看

blue#0000FFrgb(0, 0, 255)查看

blueviolet#8A2BE2rgb(138, 43, 226)查看

brown#A52A2Argb(165, 42, 42)查看

burlywood#DEB887rgb(222, 184, 135)查看

cadetblue#5F9EA0rgb(95, 158, 160)查看

chartreuse#7FFF00rgb(95, 158, 160)查看

chocolate#D2691Ergb(210, 105, 30)查看

coral#FF7F50rgb(255, 127, 80)查看

cornflowerblue#6495EDrgb(100, 149, 237)查看

cornsilk#FFF8DCrgb(255, 248, 220)查看

crimson#DC143Crgb(220, 20, 60)查看

cyan#00FFFFrgb(0, 255, 255)查看

darkblue#00008Brgb(0, 0, 139)查看

darkcyan#008B8Brgb(0, 139, 139)查看

darkgoldenrod#B8860Brgb(184, 134, 11)查看

darkgray#A9A9A9rgb(169, 169, 169)查看

darkgreen#006400rgb(0, 100, 0)查看

darkkhaki#BDB76Brgb(189, 183, 107)查看

darkmagenta#8B008Brgb(139, 0, 139)查看

darkolivegreen#556B2Frgb(85, 107, 47)查看

darkorange#FF8C00rgb(255, 140, 0)查看

darkorchid#9932CCrgb(153, 50, 204)查看

darkred#8B0000rgb(139, 0, 0)查看

darksalmon#E9967Argb(233, 150, 122)查看

darkseagreen#8FBC8Frgb(143, 188, 143)查看

darkslateblue#483D8Brgb(72, 61, 139)查看

darkslategray#2F4F4Frgb(47, 79, 79)查看

darkturquoise#00CED1rgb(0, 206, 209)查看

darkviolet#9400D3rgb(148, 0, 211)查看

deeppink#FF1493rgb(255, 20, 147)查看

deepskyblue#00BFFFrgb(0, 191, 255)查看

dimgray#696969rgb(0, 191, 255)查看

dodgerblue#1E90FFrgb(30, 144, 255)查看

firebrick#B22222rgb(178, 34, 34)查看

floralwhite#FFFAF0rgb(255, 250, 240)查看

forestgreen#228B22rgb(34, 139, 34)查看

fuchsia#FF00FFrgb(255, 0, 255)查看

gainsboro#DCDCDCrgb(220, 220, 220)查看

ghostwhite#F8F8FFrgb(248, 248, 255)查看

gold#FFD700rgb(255, 215, 0)查看

goldenrod#DAA520rgb(218, 165, 32)查看

gray#7F7F7Frgb(127, 127, 127)查看

green#008000rgb(0, 128, 0)查看

greenyellow#ADFF2Frgb(173, 255, 47)查看

honeydew#F0FFF0rgb(240, 255, 240)查看

hotpink#FF69B4rgb(255, 105, 180)查看

indianred#CD5C5Crgb(205, 92, 92)查看

indigo#4B0082rgb(75, 0, 130)查看

ivory#FFFFF0rgb(255, 255, 240)查看

khaki#F0E68Crgb(240, 230, 140)查看

lavender#E6E6FArgb(230, 230, 250)查看

lavenderblush#FFF0F5rgb(255, 240, 245)查看

lawngreen#7CFC00rgb(124, 252, 0)查看

lemonchiffon#FFFACDrgb(255, 250, 205)查看

lightblue#ADD8E6rgb(173, 216, 230)查看

lightcoral#F08080rgb(240, 128, 128)查看

lightcyan#E0FFFFrgb(224, 255, 255)查看

lightgoldenrodyellow#FAFAD2rgb(250, 250, 210)查看

lightgreen#90EE90rgb(144, 238, 144)查看

lightgrey#D3D3D3rgb(211, 211, 211)查看

lightpink#FFB6C1rgb(255, 182, 193)查看

lightsalmon#FFA07Argb(255, 160, 122)查看

lightseagreen#20B2AArgb(32, 178, 170)查看

lightskyblue#87CEFArgb(135, 206, 250)查看

lightslategray#778899rgb(119, 136, 153)查看

lightsteelblue#B0C4DErgb(176, 196, 222)查看

lightyellow#FFFFE0rgb(255, 255, 224)查看

lime#00FF00rgb(0, 255, 0)查看

limegreen#32CD32rgb(50, 205, 50)查看

linen#FAF0E6rgb(250, 240, 230)查看

magenta#FF00FFrgb(255, 0, 255)查看

maroon#800000rgb(128, 0, 0)查看

mediumaquamarine#66CDAArgb(102, 205, 170)查看

mediumblue#0000CDrgb(0, 0, 205)查看

mediumorchid#BA55D3rgb(186, 85, 211)查看

mediumpurple#9370DBrgb(147, 112, 219)查看

mediumseagreen#3CB371rgb(60, 179, 113)查看

mediumslateblue#7B68EErgb(123, 104, 238)查看

mediumspringgreen#00FA9Argb(0, 250, 154)查看

mediumturquoise#48D1CCrgb(72, 209, 204)查看

mediumvioletred#C71585rgb(199, 21, 133)查看

midnightblue#191970rgb(25, 25, 112)查看

mintcream#F5FFFArgb(245, 255, 250)查看

mistyrose#FFE4E1rgb(255, 228, 225)查看

moccasin#FFE4B5rgb(255, 228, 181)查看

navajowhite#FFDEADrgb(255, 222, 173)查看

navy#000080rgb(0, 0, 128)查看

navyblue#9FAFDFrgb(159, 175, 223)查看

oldlace#FDF5E6rgb(253, 245, 230)查看

olive#808000rgb(128, 128, 0)查看

olivedrab#6B8E23rgb(107, 142, 35)查看

orange#FFA500rgb(255, 165, 0)查看

orangered#FF4500rgb(255, 69, 0)查看

orchid#DA70D6rgb(218, 112, 214)查看

palegoldenrod#EEE8AArgb(238, 232, 170)查看

palegreen#98FB98rgb(152, 251, 152)查看

paleturquoise#AFEEEErgb(175, 238, 238)查看

palevioletred#DB7093rgb(219, 112, 147)查看

papayawhip#FFEFD5rgb(255, 239, 213)查看

peachpuff#FFDAB9rgb(255, 218, 185)查看

peru#CD853Frgb(205, 133, 63)查看

pink#FFC0CBrgb(255, 192, 203)查看

plum#DDA0DDrgb(221, 160, 221)查看

powderblue#B0E0E6rgb(176, 224, 230)查看

purple#800080rgb(128, 0, 128)查看

red#FF0000rgb(255, 0, 0)查看

rosybrown#BC8F8Frgb(188, 143, 143)查看

royalblue#4169E1rgb(65, 105, 225)查看

saddlebrown#8B4513rgb(139, 69, 19)查看

salmon#FA8072rgb(250, 128, 114)查看

sandybrown#FA8072rgb(244, 164, 96)查看

seagreen#2E8B57rgb(46, 139, 87)查看

seashell#FFF5EErgb(255, 245, 238)查看

sienna#A0522Drgb(160, 82, 45)查看

silver#C0C0C0rgb(192, 192, 192)查看

skyblue#87CEEBrgb(135, 206, 235)查看

slateblue#6A5ACDrgb(106, 90, 205)查看

slategray#708090rgb(112, 128, 144)查看

snow#FFFAFArgb(255, 250, 250)查看

springgreen#00FF7Frgb(0, 255, 127)查看

steelblue#4682B4rgb(70, 130, 180)查看

tan#D2B48Crgb(210, 180, 140)查看

teal#008080rgb(0, 128, 128)查看

thistle#D8BFD8rgb(216, 191, 216)查看

tomato#FF6347rgb(255, 99, 71)查看

turquoise#40E0D0rgb(64, 224, 208)查看

violet#EE82EErgb(238, 130, 238)查看

wheat#F5DEB3rgb(245, 222, 179)查看

white#FFFFFFrgb(255, 255, 255)查看

whitesmoke#F5F5F5rgb(245, 245, 245)查看

yellow#FFFF00rgb(255, 255, 0)查看

yellowgreen#9ACD32rgb(139, 205, 50)查看

CSS 参考手册
CSS @规则(RULES)
CSS 属性大全