w3schools
教程
HTML
CSS
JAVASCRIPT
PYTHON
PYTHON2
JAVA
C
C++
C#
SQL
Excel
Linux
AI
BOOTSTRAP
PHP
教程库
参考手册
技术文章
测验
练习
HOWTO
FAQ
CSS
参考手册
CSS 参考手册
CSS 浏览器支持
CSS 选择器
CSS 函数
CSS 听觉
CSS Web 安全字体
CSS 动画相关属性
CSS 单位
CSS PX-EM 转换
CSS 颜色
CSS 颜色值
CSS 默认值
CSS 实体
CSS
属性
align-content
align-items
align-self
all
animation
animation-delay
animation-direction
animation-duration
animation-fill-mode
animation-iteration-count
animation-name
animation-play-state
animation-timing-function
backface-visibility
background
background-attachment
background-blend-mode
background-clip
background-color
background-image
background-origin
background-position
background-repeat
background-size
border
border-bottom
border-bottom-color
border-bottom-left-radius
border-bottom-right-radius
border-bottom-style
border-bottom-width
border-collapse
border-color
border-image
border-image-outset
border-image-repeat
border-image-slice
border-image-source
border-image-width
border-left
border-left-color
border-left-style
border-left-width
border-radius
border-right
border-right-color
border-right-style
border-right-width
border-spacing
border-style
border-top
border-top-color
border-top-left-radius
border-top-right-radius
border-top-style
border-top-width
border-width
bottom
box-decoration-break
box-shadow
box-sizing
break-after
break-before
break-inside
caption-side
caret-color
@charset
clear
clip
clip-path
color
column-count
column-fill
column-gap
column-rule
column-rule-color
column-rule-style
column-rule-width
column-span
column-width
columns
content
counter-increment
counter-reset
cursor
direction
display
empty-cells
filter
flex
flex-basis
flex-direction
flex-flow
flex-grow
flex-shrink
flex-wrap
float
font
@font-face
font-family
font-feature-settings
font-kerning
font-size
font-size-adjust
font-stretch
font-style
font-variant
font-variant-caps
font-weight
grid
grid-area
grid-auto-columns
grid-auto-flow
grid-auto-rows
grid-column
grid-column-end
grid-column-gap
grid-column-start
grid-gap
grid-row
grid-row-end
grid-row-gap
grid-row-start
grid-template
grid-template-areas
grid-template-columns
grid-template-rows
hanging-punctuation
height
hyphens
@import
isolation
justify-content
@keyframes
left
letter-spacing
line-height
list-style
list-style-image
list-style-position
list-style-type
margin
margin-bottom
margin-left
margin-right
margin-top
max-height
max-width
@media
min-height
min-width
mix-blend-mode
object-fit
object-position
opacity
order
outline
outline-color
outline-offset
outline-style
outline-width
overflow
overflow-x
overflow-y
padding
padding-bottom
padding-left
padding-right
padding-top
page-break-after
page-break-before
page-break-inside
perspective
perspective-origin
pointer-events
position
quotes
resize
right
scroll-behavior
tab-size
table-layout
text-align
text-align-last
text-decoration
text-decoration-color
text-decoration-line
text-decoration-style
text-indent
text-justify
text-overflow
text-shadow
text-transform
top
transform
transform-origin
transform-style
transition
transition-delay
transition-duration
transition-property
transition-timing-function
unicode-bidi
user-select
vertical-align
visibility
white-space
width
word-break
word-spacing
word-wrap
writing-mode
z-index
❮ 上一节
下一节 ❯
CSS
颜色
所有浏览器都支持的颜色名
所有现代浏览器均支持以下 140 种颜色名称(单击颜色名称或十六进制值,可查看将以该颜色为背景颜色以及不同的文本颜色):
如需 CSS 颜色的完整知识,请访问我们的颜色教程。
AliceBlue
#F0F8FF
Color Mixer
Color Picker
AntiqueWhite
#FAEBD7
Color Mixer
Color Picker
Aqua
#00FFFF
Color Mixer
Color Picker
Aquamarine
#7FFFD4
Color Mixer
Color Picker
Azure
#F0FFFF
Color Mixer
Color Picker
Beige
#F5F5DC
Color Mixer
Color Picker
Bisque
#FFE4C4
Color Mixer
Color Picker
Black
#000000
Color Mixer
Color Picker
BlanchedAlmond
#FFEBCD
Color Mixer
Color Picker
Blue
#0000FF
Color Mixer
Color Picker
BlueViolet
#8A2BE2
Color Mixer
Color Picker
Brown
#A52A2A
Color Mixer
Color Picker
BurlyWood
#DEB887
Color Mixer
Color Picker
CadetBlue
#5F9EA0
Color Mixer
Color Picker
Chartreuse
#7FFF00
Color Mixer
Color Picker
Chocolate
#D2691E
Color Mixer
Color Picker
Coral
#FF7F50
Color Mixer
Color Picker
CornflowerBlue
#6495ED
Color Mixer
Color Picker
Cornsilk
#FFF8DC
Color Mixer
Color Picker
Crimson
#DC143C
Color Mixer
Color Picker
Cyan
#00FFFF
Color Mixer
Color Picker
DarkBlue
#00008B
Color Mixer
Color Picker
DarkCyan
#008B8B
Color Mixer
Color Picker
DarkGoldenRod
#B8860B
Color Mixer
Color Picker
DarkGray
#A9A9A9
Color Mixer
Color Picker
DarkGrey
#A9A9A9
Color Mixer
Color Picker
DarkGreen
#006400
Color Mixer
Color Picker
DarkKhaki
#BDB76B
Color Mixer
Color Picker
DarkMagenta
#8B008B
Color Mixer
Color Picker
DarkOliveGreen
#556B2F
Color Mixer
Color Picker
DarkOrange
#FF8C00
Color Mixer
Color Picker
DarkOrchid
#9932CC
Color Mixer
Color Picker
DarkRed
#8B0000
Color Mixer
Color Picker
DarkSalmon
#E9967A
Color Mixer
Color Picker
DarkSeaGreen
#8FBC8F
Color Mixer
Color Picker
DarkSlateBlue
#483D8B
Color Mixer
Color Picker
DarkSlateGray
#2F4F4F
Color Mixer
Color Picker
DarkSlateGrey
#2F4F4F
Color Mixer
Color Picker
DarkTurquoise
#00CED1
Color Mixer
Color Picker
DarkViolet
#9400D3
Color Mixer
Color Picker
DeepPink
#FF1493
Color Mixer
Color Picker
DeepSkyBlue
#00BFFF
Color Mixer
Color Picker
DimGray
#696969
Color Mixer
Color Picker
DimGrey
#696969
Color Mixer
Color Picker
DodgerBlue
#1E90FF
Color Mixer
Color Picker
FireBrick
#B22222
Color Mixer
Color Picker
FloralWhite
#FFFAF0
Color Mixer
Color Picker
ForestGreen
#228B22
Color Mixer
Color Picker
Fuchsia
#FF00FF
Color Mixer
Color Picker
Gainsboro
#DCDCDC
Color Mixer
Color Picker
GhostWhite
#F8F8FF
Color Mixer
Color Picker
Gold
#FFD700
Color Mixer
Color Picker
GoldenRod
#DAA520
Color Mixer
Color Picker
Gray
#808080
Color Mixer
Color Picker
Grey
#808080
Color Mixer
Color Picker
Green
#008000
Color Mixer
Color Picker
GreenYellow
#ADFF2F
Color Mixer
Color Picker
HoneyDew
#F0FFF0
Color Mixer
Color Picker
HotPink
#FF69B4
Color Mixer
Color Picker
IndianRed
#CD5C5C
Color Mixer
Color Picker
Indigo
#4B0082
Color Mixer
Color Picker
Ivory
#FFFFF0
Color Mixer
Color Picker
Khaki
#F0E68C
Color Mixer
Color Picker
Lavender
#E6E6FA
Color Mixer
Color Picker
LavenderBlush
#FFF0F5
Color Mixer
Color Picker
LawnGreen
#7CFC00
Color Mixer
Color Picker
LemonChiffon
#FFFACD
Color Mixer
Color Picker
LightBlue
#ADD8E6
Color Mixer
Color Picker
LightCoral
#F08080
Color Mixer
Color Picker
LightCyan
#E0FFFF
Color Mixer
Color Picker
LightGoldenRodYellow
#FAFAD2
Color Mixer
Color Picker
LightGray
#D3D3D3
Color Mixer
Color Picker
LightGrey
#D3D3D3
Color Mixer
Color Picker
LightGreen
#90EE90
Color Mixer
Color Picker
LightPink
#FFB6C1
Color Mixer
Color Picker
LightSalmon
#FFA07A
Color Mixer
Color Picker
LightSeaGreen
#20B2AA
Color Mixer
Color Picker
LightSkyBlue
#87CEFA
Color Mixer
Color Picker
LightSlateGray
#778899
Color Mixer
Color Picker
LightSlateGrey
#778899
Color Mixer
Color Picker
LightSteelBlue
#B0C4DE
Color Mixer
Color Picker
LightYellow
#FFFFE0
Color Mixer
Color Picker
Lime
#00FF00
Color Mixer
Color Picker
LimeGreen
#32CD32
Color Mixer
Color Picker
Linen
#FAF0E6
Color Mixer
Color Picker
Magenta
#FF00FF
Color Mixer
Color Picker
Maroon
#800000
Color Mixer
Color Picker
MediumAquaMarine
#66CDAA
Color Mixer
Color Picker
MediumBlue
#0000CD
Color Mixer
Color Picker
MediumOrchid
#BA55D3
Color Mixer
Color Picker
MediumPurple
#9370DB
Color Mixer
Color Picker
MediumSeaGreen
#3CB371
Color Mixer
Color Picker
MediumSlateBlue
#7B68EE
Color Mixer
Color Picker
MediumSpringGreen
#00FA9A
Color Mixer
Color Picker
MediumTurquoise
#48D1CC
Color Mixer
Color Picker
MediumVioletRed
#C71585
Color Mixer
Color Picker
MidnightBlue
#191970
Color Mixer
Color Picker
MintCream
#F5FFFA
Color Mixer
Color Picker
MistyRose
#FFE4E1
Color Mixer
Color Picker
Moccasin
#FFE4B5
Color Mixer
Color Picker
NavajoWhite
#FFDEAD
Color Mixer
Color Picker
Navy
#000080
Color Mixer
Color Picker
OldLace
#FDF5E6
Color Mixer
Color Picker
Olive
#808000
Color Mixer
Color Picker
OliveDrab
#6B8E23
Color Mixer
Color Picker
Orange
#FFA500
Color Mixer
Color Picker
OrangeRed
#FF4500
Color Mixer
Color Picker
Orchid
#DA70D6
Color Mixer
Color Picker
PaleGoldenRod
#EEE8AA
Color Mixer
Color Picker
PaleGreen
#98FB98
Color Mixer
Color Picker
PaleTurquoise
#AFEEEE
Color Mixer
Color Picker
PaleVioletRed
#DB7093
Color Mixer
Color Picker
PapayaWhip
#FFEFD5
Color Mixer
Color Picker
PeachPuff
#FFDAB9
Color Mixer
Color Picker
Peru
#CD853F
Color Mixer
Color Picker
Pink
#FFC0CB
Color Mixer
Color Picker
Plum
#DDA0DD
Color Mixer
Color Picker
PowderBlue
#B0E0E6
Color Mixer
Color Picker
Purple
#800080
Color Mixer
Color Picker
RebeccaPurple
#663399
Color Mixer
Color Picker
Red
#FF0000
Color Mixer
Color Picker
RosyBrown
#BC8F8F
Color Mixer
Color Picker
RoyalBlue
#4169E1
Color Mixer
Color Picker
SaddleBrown
#8B4513
Color Mixer
Color Picker
Salmon
#FA8072
Color Mixer
Color Picker
SandyBrown
#F4A460
Color Mixer
Color Picker
SeaGreen
#2E8B57
Color Mixer
Color Picker
SeaShell
#FFF5EE
Color Mixer
Color Picker
Sienna
#A0522D
Color Mixer
Color Picker
Silver
#C0C0C0
Color Mixer
Color Picker
SkyBlue
#87CEEB
Color Mixer
Color Picker
SlateBlue
#6A5ACD
Color Mixer
Color Picker
SlateGray
#708090
Color Mixer
Color Picker
SlateGrey
#708090
Color Mixer
Color Picker
Snow
#FFFAFA
Color Mixer
Color Picker
SpringGreen
#00FF7F
Color Mixer
Color Picker
SteelBlue
#4682B4
Color Mixer
Color Picker
Tan
#D2B48C
Color Mixer
Color Picker
Teal
#008080
Color Mixer
Color Picker
Thistle
#D8BFD8
Color Mixer
Color Picker
Tomato
#FF6347
Color Mixer
Color Picker
Turquoise
#40E0D0
Color Mixer
Color Picker
Violet
#EE82EE
Color Mixer
Color Picker
Wheat
#F5DEB3
Color Mixer
Color Picker
White
#FFFFFF
Color Mixer
Color Picker
WhiteSmoke
#F5F5F5
Color Mixer
Color Picker
Yellow
#FFFF00
Color Mixer
Color Picker
YellowGreen
#9ACD32
Color Mixer
Color Picker
❮ 上一节
下一节 ❯
颜色选择器
读后有收获微信请站长喝咖啡