HTML colors and categories

HTML colors are a mixture of red, green, and blue.

Color value

The color value is represented by hexadecimal for red and green , blue (RGB).

The lowest value of each color is 0 (00 in hex) and the highest value is 255 (FF in hex).

The hexadecimal value is written as a # followed by three or six hexadecimal characters.

Three-digit representation is: #RGB, converted to 6-digit representation: #RRGGBB.


1005.png

## Currently all browsers support approximately 141 color names.

Tips:17 standard colors: black, blue, water, fuchsia, gray, green, lime, maroon , navy, olive, orange, purple, red, white, silver, teal, yellow. Click on one of the color names (or a hex value) to see the background colors paired with different text colors.

There are approximately 1.6 million different colors in total

Three colors The combination of red, green and blue ranges from 0 to 255, a total of 16 million different colors (256 x 256 x 256).

RGB values and Chinese names of commonly used colors
RGB values English names Chinese names

#FFB6C1 LightPink Light Pink
#FFC0CB Pink
#DC143C Crimson Crimson/Scarlet
#FFF0F5 LavenderBlush #DB7093 PaleVioletRed Weak Violet
#FF69B4 HotPink Passionate Pink
#FF1493 DeepPink
#C71585 MediumVioletRed Medium Violet Red
#DA70D6 Orchid Dark Purple/Orchid Purple
#D8BFD8 Thistle
#DDA0DD Plum Plum/Plum Purple
#EE82EE Violet
#FF00FF Magenta Magenta/Rose Red
#FF00FF Fuchsia Purple/Lantern Begonia
#8B008B DarkMagenta
#800080 Purple #BA55D3 MediumOrchid #9400D3 DarkViolet
#9932CC DarkOrchid Dark Orchid Purple
#4B0082 Indigo i i
#8A2BE2 Blueviolet Blue Purple Roland
#9370db MediumPurple Mid -purple
#7B68eeeeeeeeeeeeeeeeeeeeeeeeeeeeee Color/slate blue
#483D8B DarkSlateBlue dark gray blue/dark slate blue
#E6E6FA Lavender lilac/lavender lavender
#F8F8FF GhostWhite ghost white
#0000FF Blue pure blue
#0000CD MediumBlue Medium Blue
#191970 MidnightBlue Midnight Blue
#00008B DarkBlue #000080 Navy #4169E1 RoyalBlue #6495ED CornflowerBlue
#B0C4DE LightSteelBlue #778899 LightSlateGray bright Blue Gray/Bright Slate Gray
#708090 SlateGray Gray Stone/Slate Gray
#1E90FF DodgerBlue Flash Blue/Dodge Blue
#F0F8FF AliceBlue Alice Blue
#4682B4 SteelBlue Steel Blue/Iron Blue
#87CEFA LightSkyBlue #87CEEB SkyBlue
#00BFFF DeepSkyBlue
#ADD8E6 LightBlue
#B0E0E6 PowderBlue #5F9 EA0 CadetBlue Military Blue/Military Blue
#F0FFFF Azure Azure
#E0FFFF LightCyan #AFEEEE PaleTurquoise Weak Emerald
#00FFFF Cyan Cyan
#00FFFF Aqua Light Green/Water Color
#00CED1 DarkTurquoise
#2F4F4F DarkSlateGray Dark Slate Gray
#008B8B DarkCyan #008080 Teal #48D1CC MediumTurquoise
# 20B2AA LightSeaGreen #40E0D0 Turquoise Green #7FFFD4 Aquamarine #66CDAA MediumAquamarine Medium Spring Green
#00FA9A MediumSpringGreen #F5FFFA MintCream Peppermint Cream
#00FF7F SpringGreen #3CB371 MediumSeaGreen #2E8B57 SeaGreen
#F0FFF0 Honeydew #90EE90 LightGreen
#98FB98 PaleGreen
#8FBC8F DarkSeaGreen #32CD32 LimeGreen Flash Dark Green
#00FF00 Lime Flash Green
#228B22 ForestGreen Forest Green
#008000 Green
#006400 DarkGreen
#7FFF00 Chartreuse #7CFC00 LawnGreen #ADFF2F GreenYellow #556B2F DarkOliveGreen
# 9ACD32 YellowGreen #6B8E23 OliveDrab #F5F5DC Beige Beige
#FAFAD2 LightGoldenrodYellow #FFFF0 Ivory
#FFFFE0 LightYellow
# FFFF00 Yellow Pure Yellow
#808000 Olive Olive
#BDB76B DarkKhaki Dark Khaki
#FFFACD LemonChiffon Lemon Silk
#EEE8AA PaleGoldenrod Gray Chrysanthemum Yellow/Blue Kirin
# F0E68C Khaki khaki/khaki #FFD700 Gold #FFF8DC Cornsilk
#DAA520 Goldenrod #B8860B DarkGoldenrod #FFAFF0 Floral white flower white
#FDF5E6 OldLace old pattern/old lace
#F5DEB3 Wheat light yellow/wheat color
#FFE4B5 Moccasin deerskin color/deerskin boots
#FFA500 Orange orange
#FFEFD5 PapayaWhip Wood/Papaya
#FFEBCD BlanchedAlmond White Apricot
#FFDEAD NavajoWhite NavajoWhite/Indigenous White
#FAEBD7 AntiqueWhite Antique White
#D2B48C Tan Tan
#DEB887 BurlyWood Hardwood color
#FFE4C4 Bisque Ceramic Yellow
#FF8C00 DarkOrange #FAF0E6 Linen Linen
#CD853F Peru Peruvian color #FFDAB9 PeachPuff #F4A460 SandyBrown
# D2691E Chocolate #8B4513 SaddleBrown #FFF5EE Seashell
#A0522D Sienna #FFA07A LightSalmon #FF7 F50 Coral Coral
#FF4500 OrangeRed Orange Red
#E9967A DarkSalmon Deep Meat/Salmon Color
#FF6347 Tomato Tomato Red
#FFE4E1 MistyRose Light Rose/Mist Rose
#FA8072 Salmon Fresh Meat/Salmon Color
#FFFAFA Snow Snow White
#F08080 LightCoral #BC8F8F RosyBrown Rose Brown
#CD5C5C IndianRed Indian Red
#FF0000 Red Pure Red
#A52A2A Brown
#B22222 FireBrick Fire Brick Color/Fire Brick
#8B0000 DarkRed #80000 Maroon
#FFFFFF White Pure White
#F5F5F5 WhiteSmoke White Smoke
#DCDCDC Gain sboro light gray
#D3D3D3 LightGrey
#C0C0C0 Silver #A9A9A9 DarkGray #8080 Gray #696969 DimGray #00000 0 Black Pure Black

Continuing Learning
||
php.cn

通过十六进制设置背景颜色

通过 rbg 值设置背景颜色

通过颜色名设置背景颜色

submit Reset Code
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!