Hardware and software setup

Hex grey. HTML Tutorial

Unfortunately, it is not yet possible to display taste sensations on the site. But this can be fully compensated with the help of colors. After all, html colors allow you to display any of the millions of shades. So that " colored pencils” in his set is much more than seven.

color scheme in html

In html, color can be specified in several formats:

1. As a hexadecimal value - the code specified in the hexadecimal system is used. Such color codes in html consist of three pairs of hexadecimal numbers. Each pair is responsible for the saturation of the hue with its primary color:

  • The first numeric pair is responsible for the red color;
  • The second pair is for the content of the green color;
  • The latter is for the content of the blue color.

At the beginning of the code (before the numbers), a hash mark is placed. This is the hexadecimal color code. In addition to numbers from 1 to 9, this number system uses letters of the Latin alphabet (A, B, C, D, E, F).

For example, code white color in html will look like #FFFFFF:

2. Keyword - Right now html supports about 147 keywords. But not all of these words are unique. Some of them refer to the same color shade.

Gray is represented by two keywords: gray and gray . Their hexadecimal code (HEX ) is given by the same value #808080 .

Example :

#808080



3. In RGB format - this color encoding in html is based on the use of three values ​​​​set in the range from 0 to 255. Each of them determines the saturation of the hue with one of the primary colors:

  • R - red (red);
  • G - green (green);
  • B - blue (blue).

The color number in RGB format is written as follows: rgb(0, 210, 100).

background-color:rgb(100,186,43)

4. In RGBA format - it is an advanced RGB format, where the fourth value specifies the transparency of the color in the form of a decimal fraction from 0 to 1.

Usage example:

background-color:rgba(100,86,143,0.2)

background-color:rgba(100,86,143,0.5)

background-color:rgba(100,86,143,0.8)

background-color:rgba(100,86,143,1)

html color tables and color generators

With such a wide range of color setting formats, it is easy to get confused. Therefore, it was devised special table colors. In it, to 147 key names of color shades, codes of correspondence are given in all major color representation standards. Additionally, each field is equipped with a bar for visual color matching. One of these tables is presented on the site colorscheme.ru:

But even with the help of such a structuring of correspondence, the selection of the desired shade can be difficult. And it’s not a fact that there is the right one in the color code table.

To get around this barrier and make it as easy as possible to select the right shade, interactive web services have been developed. Their user interface may differ somewhat.

On the html-color-codes.info site, the color generator looks like this:

And within the color-picker.appsmaster.co service, this tool is implemented a little differently:

The saturation of each color in the generator is set using special sliders. Visually, the hue is displayed by the color of the frame and rectangle on the left side. At the bottom, 3 fields display the color code in the main formats.

But the color generator is available not only on specialized sites. Almost all graphic editors are equipped with a similar tool. For example, Photoshop:

Color Safety

And it was a long time ago, back in the era of video cards that support only 256 colors. In those distant times OS could display only a certain number of eight-bit shades without distortion.

Then the great table of safe colors was bred. It indicated 216 shades that could be displayed without distortion in any of the browsers of that time. And to this day this great manuscript» is still available on some resources:

Everything has changed in our time. Therefore, all safety rules when working with color in html are completely canceled. After all, modern computer hardware supports over 16 million different shades. And 216 safe colors have sunk into oblivion.

These data are fully supported by statistics. Judging by it, in 2014 only 0.5% of users have computers that support only 256 shades.

Fundamentals of color harmony

Not all of us are endowed with a natural harmonious sense of taste. Therefore, choosing the right color can be a real challenge. But, thank science, even color harmony She managed to describe in the form of several schemes. All of them are based on the use of the color wheel. Schemes of harmonious selection of colors in html.

Color codes in CSS are used to specify colors. Typically, color codes or color values ​​are used to set a color for either the foreground of an element (eg, text, link color) or the element's background (background, block color). They can also be used to change button color, borders, marker, hover and other decorative effects.

You can set your color values ​​in various formats. The following table lists all possible formats:

These formats are described in more detail below.

CSS Colors - Hex Codes

Hexadecimal color code is a six-digit color representation. The first two digits (RR) are the red value, the next two are the green value (GG) and the last two are the blue value (BB).

CSS Colors - Short Hex Codes

Short hexadecimal color code is a shorter form of six-character notation. In this format, each digit is repeated to produce the equivalent six-digit color value. For example: #0F0 becomes #00FF00.

The hexadecimal value can be taken from any graphic software, such as Adobe Photoshop, Core Draw, etc.

Each hexadecimal color code in CSS will be preceded by a "#" hash sign. The following are examples of the use of hexadecimal notation.

CSS Colors - RGB Values

RGB value is a color code that is set using the rgb() property. This property takes three values: one each for red, green, and blue. The value can be an integer, from 0 to 255, or a percentage.

Note: Not all browsers support the rgb() color property, so it's not recommended to use it.

Below is an example showing multiple colors using RGB values.

Color code generator

You can create millions of color codes with our service.

Safe Browser Colors

Below is a table of 216 colors that are the most secure and computer independent. These colors in CSS range from 000000 to FFFFFF hex code. They are safe to use as they ensure that all computers will display color correctly when working with the 256 color palette.

Table of "safe" colors in CSS
#000000 #000033 #000066 #000099 #0000CC#0000FF
#003300 #003333 #003366 #003399 #0033CC#0033FF
#006600 #006633 #006666 #006699 #0066CC#0066FF
#009900 #009933 #009966 #009999 #0099CC#0099FF
#00CC00#00CC33#00CC66#00CC99#00CCCC#00CCFF
#00FF00#00FF33#00FF66#00FF99#00FFCC#00FFFF
#330000 #330033 #330066 #330099 #3300CC#3300FF
#333300 #333333 #333366 #333399 #3333CC#3333FF
#336600 #336633 #336666 #336699 #3366CC#3366FF
#339900 #339933 #339966 #339999 #3399CC#3399FF
#33CC00#33CC33#33CC66#33CC99#33CCCC#33CCFF
#33FF00#33FF33#33FF66#33FF99#33FFCC#33FFFF
#660000 #660033 #660066 #660099 #6600CC#6600FF
#663300 #663333 #663366 #663399 #6633CC#6633FF
#666600 #666633 #666666 #666699 #6666CC#6666FF
#669900 #669933 #669966 #669999 #6699CC#6699FF
#66CC00#66CC33#66CC66#66CC99#66CCCC#66CCFF
#66FF00#66FF33#66FF66#66FF99#66FFCC#66FFFF
#990000 #990033 #990066 #990099 #9900CC#9900FF
#993300 #993333 #993366 #993399 #9933CC#9933FF
#996600 #996633 #996666 #996699 #9966CC#9966FF
#999900 #999933 #999966 #999999 #9999CC#9999FF
#99CC00#99CC33#99CC66#99CC99#99CCCC#99CCFF
#99FF00#99FF33#99FF66#99FF99#99FFCC#99FFFF
#CC0000#CC0033#CC0066#CC0099#CC00CC#CC00FF
#CC3300#CC3333#CC3366#CC3399#CC33CC#CC33FF
#CC6600#CC6633#CC6666#CC6699#CC66CC#CC66FF
#CC9900#CC9933#CC9966#CC9999#CC99CC#CC99FF
#CCCC00#CCCC33#CCCC66#CCCC99#CCCCCC#CCCCFF
#CCFF00#CCFF33#CCFF66#CCFF99#CCFFCC#CCFFFF
#FF0000#FF0033#FF0066#FF0099#FF00CC#FF00FF
#FF3300#FF3333#FF3366#FF3399#FF33CC#FF33FF
#FF6600#FF6633#FF6666#FF6699#FF66CC#FF66FF
#FF9900#FF9933#FF9966#FF9999#FF99CC#FF99FF
#FFCC00#FFCC33#FFCC66#FFCC99#FFCCCC#FFCCFF
#FFFF00#FFFF33#FFFF66#FFFF99#FFFFCC#FFFFFF

In HTML, color can be specified in three ways:

Setting color in HTML by its name

Some colors can be specified by their name, using the name of the color on the English language. The most common keywords: black (black), white (white), red (red), green (green), blue (blue), etc:

Text Color - Red

The most popular colors of the Consortium standard world wide web(English World Wide Web Consortium, W3C):

ColorNameColorName ColorName ColorName
Black Gray Silver White
Yellow lime Aqua Fuchsia
Red Green Blue Purple
maroon Olive Navy Teal

An example of using different color names:

Example: setting a color by its name

  • Try it yourself "

Header on red background

Header on orange background

Header on lime background

White text on a blue background

Header on red background

Header on orange background

Header on lime background

White text on a blue background

Specifying color with RGB

When displaying different colors on the monitor, the RGB palette is taken as the basis. Any color is obtained by mixing the three main ones: R - red, G - green (green), B - blue (blue). The brightness of each color is given by one byte and therefore can take values ​​from 0 to 255. For example, RGB (255,0,0) is rendered as red because red is set to its highest value (255) and the rest are set to 0 You can also set the color as a percentage. Each of the parameters indicates the level of brightness of the corresponding color. For example: the values ​​rgb(127, 255, 127) and rgb(50%, 100%, 50%) will set the same medium saturation green color:

Example: Specifying a color with RGB

  • Try it yourself "

rgb(127, 255, 127)

rgb(50%, 100%, 50%)

rgb(127, 255, 127)

rgb(50%, 100%, 50%)

Set color by hexadecimal value

Values R G B can also be specified using hexadecimal (HEX) color values ​​in the form: #RRGGBB where RR (red), GG (green), and BB (blue) are hexadecimal values ​​from 00 to FF (same as decimal 0-255) . The hexadecimal system, unlike the decimal system, is based, as its name suggests, on the number 16. The hexadecimal system uses following signs: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F. Here the numbers from 10 to 15 are replaced by Latin letters. Numbers greater than 15 in the hexadecimal system are the union of two characters into one value. For example, the highest number 255 in decimal corresponds to the highest FF in hexadecimal. Unlike the decimal system, the hexadecimal number is preceded by a pound sign. # , for example, #FF0000 is displayed as red because red is set to its highest value (FF) and the other colors are set to their minimum value (00). Characters after the hash symbol # can be typed in both uppercase and lowercase. The hexadecimal system allows you to use the abbreviated form #rgb, where each character is equal to twice. Thus, the entry #f7O should be regarded as #ff7700.

Example: Color HEX

  • Try it yourself "

red: #FF0000

green: #00FF00

blue: #0000FF

red: #FF0000

green: #00FF00

blue: #0000FF

red+green=yellow: #FFFF00

red+blue=purple: #FF00FF

green+blue=cyan: #00FFFF

List of commonly used colors (name, HEX and RGB):

English name Russian name Sample HEX RGB
Amaranth amaranth #E52B50 229 43 80
Amber Amber #FFBF00 255 191 0
Aqua blue green #00FFFF 0 255 255
Azure Azure #007FFF 0 127 255
Black Black #000000 0 0 0
Blue Blue #0000FF 0 0 255
Bondi Blue Bondi beach water #0095B6 0 149 182
Brass Brass #B5A642 181 166 66
Brown Brown #964B00 150 75 0
Cerulean Azure #007BA7 0 123 167
dark spring green Dark spring green #177245 23 114 69
Emerald Emerald #50C878 80 200 120
Eggplant eggplant #990066 153 0 102
Fuchsia Fuchsia #FF00FF 255 0 255
Gold Gold #FFD700 250 215 0
Gray Grey #808080 128 128 128
Green Green #00FF00 0 255 0
Indigo Indigo #4B0082 75 0 130
Jade Jade #00A86B 0 168 107
lime Lime #CCFF00 204 255 0
Malachite Malachite #0BDA51 11 218 81
Navy Navy blue #000080 0 0 128
Ocher Ocher #CC7722 204 119 34
Olive Olive #808000 128 128 0
Orange Orange #FFA500 255 165 0
peach Peach #FFE5B4 255 229 180
Pumpkin Pumpkin #FF7518 255 117 24
Purple Violet #800080 128 0 128
Red Red #FF0000 255 0 0
Saffron Saffron #F4C430 244 196 48
sea ​​green green sea #2E8B57 46 139 87
Swamp green Bolotny #ACB78E 172 183 142
Teal blue green #008080 0 128 128
Ultramarine ultramarine #120A8F 18 10 143
violet Violet #8B00FF 139 0 255
Yellow Yellow #FFFF00 255 255 0

Color codes (background) by saturation and hue.

Table (palette) of html colors gives you the opportunity to independently choose the tone you need. The color value is displayed in three formats: Hex, RGB, and HSV.

  • Hex consists of three two character values ​​in hexadecimal notation. For example: #ff00b3, where the first pair of numbers is red, the second is green, and the third is blue.
  • RGB (RedGreenBlue) has the form "200,100,255" indicating the amount of the corresponding tone (red, green, blue) in the resulting color.
  • HSV (Hue, Saturation, Value - tone, saturation, value) - a color model in which the coordinates are:
    • Hue - color tone, can vary from 0° to 360°.
    • Saturation - saturation, varies between 0-100 or 0-1. The larger this setting, the "purer" the color is, which is why this setting is sometimes referred to as color purity. And the closer this parameter is to zero, the closer the color is to neutral gray.
    • Value (color value) - sets the brightness, the value can also vary between 0-100 or 0-1.

Enter color code: GO

List of colors with names

The table lists the English color names (which can be used as values) supported by all browsers and their hexadecimal values. All colors listed are "safe", meaning they will display the same in all browsers.

Color name HEX Color
Black#000000
Navy#000080
dark blue#00008B
Medium Blue#0000CD
Blue#0000FF
dark green#006400
Green#008000
Teal#008080
DarkCyan#008B8B
DeepSkyBlue#00BFFF
Dark Turquoise#00CED1
MediumSpringGreen#00FA9A
lime#00FF00
SpringGreen#00FF7F
Aqua#00FFFF
cyan#00FFFF
midnight blue#191970
Dodger Blue#1E90FF
LightSeaGreen#20B2AA
forest green#228B22
sea ​​green#2E8B57
DarkSlateGray#2F4F4F
Lime Green#32CD32
MediumSeaGreen#3CB371
Turquoise#40E0D0
Royal Blue#4169E1
steel blue#4682B4
DarkSlateBlue#483D8B
Medium Turquoise#48D1CC
Indigo#4B0082
DarkOliveGreen#556B2F
Cadet Blue#5F9EA0
CornflowerBlue#6495ED
MediumAquaMarine#66CDAA
Dim Gray#696969
Slate Blue#6A5ACD
OliveDrab#6B8E23
SlateGray#708090
LightSlateGray#778899
MediumSlateBlue#7B68EE
LawnGreen#7CFC00
chartreuse#7FFF00
aquamarine#7FFFD4
maroon#800000
Purple#800080
Olive#808000
Gray#808080
sky blue#87CEEB
LightSkyBlue#87CEFA
blue violet#8A2BE2
dark red#8B0000
DarkMagenta#8B008B
SaddleBrown#8B4513
DarkSeaGreen#8FBC8F
Light Green#90EE90
Medium Purple#9370D8
dark violet#9400D3
pale green#98FB98
Dark Orchid#9932CC
yellow green#9ACD32
Sienna#A0522D
Brown#A52A2A
dark gray#A9A9A9
light blue#ADD8E6
GreenYellow#ADFF2F
paleturquoise#AFEEEE
LightSteelBlue#B0C4DE
Powder Blue#B0E0E6
FireBrick#B22222
DarkGoldenRod#B8860B
Medium Orchid#BA55D3
RosyBrown#BC8F8F
DarkKhaki#BDB76B
Silver#C0C0C0
MediumVioletRed#C71585
IndianRed#CD5C5C
Peru#CD853F
Chocolate#D2691E
Tan#D2B48C
light gray#D3D3D3
PaleVioletRed#D87093
Thistle#D8BFD8
Orchid#DA70D6
golden rod#DAA520
Crimson#DC143C
Gainsboro#DCDCDC
Plum#DDA0DD
Burlywood#DEB887
LightCyan#E0FFFF
Lavender#E6E6FA
DarkSalmon#E9967A
violet#EE82EE
PaleGoldenRod#EEE8AA
LightCoral#F08080
Khaki#F0E68C
Alice Blue#F0F8FF
honeydew#F0FFF0
Azure#F0FFFF
Sandy Brown#F4A460
Wheat#F5DEB3
Beige#F5F5DC
white smoke#F5F5F5
MintCream#F5FFFA
ghost white#F8F8FF
Salmon#FA8072
antique white#FAEBD7
linen#FAF0E6
LightGoldenRodYellow#FAFAD2
Old Lace#FDF5E6
Red#FF0000
Fuchsia#FF00FF
Magenta#FF00FF
deeppink#FF1493
OrangeRed#FF4500
Tomato#FF6347
hotpink#FF69B4
Coral#FF7F50
darkorange#FF8C00
LightSalmon#FFA07A
Orange#FFA500
lightpink#FFB6C1
Pink#FFC0CB
Gold#FFD700
PeachPuff#FFDAB9
NavajoWhite#FFDEAD
Moccasin#FFE4B5
Bisque#FFE4C4
MistyRose#FFE4E1
Blanched Almond#FFEBCD
Papaya Whip#FFEFD5
LavenderBlush#FFF0F5
seashell#FFF5EE
Cornsilk#FFF8DC
LemonChiffon#FFFACD
FloralWhite#FFFAF0
Snow#FFFAFA
Yellow#FFFF00
LightYellow#FFFFE0
Ivory#FFFFF0
White#FFFFFF

For html pages colors are denoted primarily in hexadecimal. For this, two types of code recording are used - full or abbreviated. In order to correctly indicate the html color with a full record, you must write six characters (numbers and / or English letters) after the lattice, for example, black is written like this: #000000. An abbreviated notation for specifying html colors consists of a grid and three numbers and / or letters behind it. Wherein this species reserves can only be used if complete record a given color consists of the same symbols after the lattice. For example, the same black color can be written like this: #000. You can specify html colors with both large and small characters, since they are not case sensitive.

Each character written after "#" corresponds to a certain proportion of red, green and blue colors. In turn, all monitors consist of a huge number of pixels (microscopic dots), each of which includes 3 so-called "flashlights" (light sources): red, green and blue. Then, by adjusting the intensity of the emitted light by these "flashlights", the monitor displays the color we need.

By combining red, blue and green light intensity (from 0 to 256) the monitors can display 16,000,000 different colors.

Also, colors for sites can be specified verbally or in RGB code.

To date, verbally, you can prescribe 147 colors. It is important to know that some different names can refer to the same colors, for example Gray and Gray are gray (#808080).

Safe colors for websites.

Not every monitor and browser can display all 16 million html colors correctly.

If, for example, a color comes across that the browser cannot display correctly, then:

  1. The browser replaces it with the one that is most similar to it and can be successfully reproduced;
  2. To display correctly, the browser can mix multiple colors and reproduce the result.

In order to ensure that the output in any browser and on any monitor is the color that you specified in the code, it is recommended to use "Safe Colors". They were not determined by hand or at someone's will, but mathematically. Such 100% safe colors for html documents there are 216. And although today's technology has reached the point that modern monitors and browsers recognize millions of shades, we recommend using these safe colors to ensure color reproduction.

html safe color table.
Hexadecimal color system. Color codes in RGB (Red, Green, Blue).
Color html code: #000000 RGB color: 0 0 0
Color html code: #333333 RGB color: 51 51 51
Color html code: #666666 RGB color: 102 102 102
Color html code: #999999 RGB color: 153 153 153
Color html code: #CCCCCC RGB color: 204 204 204
Color html code: #FFFFFF RGB color: 255 255 255
Color html code: #666600 RGB color: 102 102 0
Color html code: #999900 RGB color: 153 153 0
Color html code: #999933 RGB color: 153 153 51
Color html code: #999966 RGB color: 153 153 102
Color html code: #CCCC33 RGB color: 204 204 51
Color html code: #CCCC66 RGB color: 204 204 102
Color html code: #333300 RGB color: 51 51 0
Color html code: #666633 RGB color: 102 102 51
Color html code: #CCCC99 RGB color: 204 204 153
Color html code: #CCFF33 RGB color: 204 255 51
Color html code: #CCFF00 RGB color: 204 255 0
Color html code: #CCFF66 RGB color: 204 255 102
Color html code: #669900 RGB color: 102 153 0
Color html code: #99CC33 RGB color: 153 204 51
Color html code: #99CC00 RGB color: 153 204 0
Color html code: #99CC66 RGB color: 153 204 102
Color html code: #99FF33 RGB color: 153 255 51
Color html code: #99FF00 RGB color: 153 255 0
Color html code: #336600 RGB color: 51 102 0
Color html code: #669933 RGB color: 102 153 51
Color html code: #66CC33 RGB color: 102 204 51
Color html code: #66CC00 RGB color: 102 204 0
Color html code: #99FF66 RGB color: 153 255 102
Color html code: #CCFF99 RGB color: 204 255 153
Color html code: #009900 RGB color: 0 153 0
Color html code: #339900 RGB color: 51 153 0
Color html code: #33CC00 RGB color: 51 204 0
Color html code: #33FF00 RGB color: 51 255 0
Color html code: #66FF33 RGB color: 102 255 51
Color html code: #66FF00 RGB color: 102 255 0
Color html code: #00CC33 RGB color: 0 204 51
Color html code: #33CC33 RGB color: 51 204 51
Color html code: #00CC00 RGB color: 0 204 0
Color html code: #00FF00 RGB color: 0 255 0
Color html code: #00FF33 RGB color: 0 255 51
Color html code: #33FF33 RGB color: 51 255 51
Color html code: #003300 RGB color: 0 51 0
Color html code: #336633 RGB color: 51 102 51
Color html code: #669966 RGB color: 102 153 102
Color html code: #66CC66 RGB color: 102 204 102
Color html code: #99CC99 RGB color: 153 204 153
Color html code: #CCFFCC RGB color: 204 255 204
Color html code: #006600 RGB color: 0 102 0
Color html code: #339933 RGB color: 51 153 51
Color html code: #00FF66 RGB color: 0 255 102
Color html code: #33FF66 RGB color: 51 255 102
Color html code: #66FF66 RGB color: 102 255 102
Color html code: #99FF99 RGB color: 153 255 153
Color html code: #009933 RGB color: 0 153 51
Color html code: #00CC66 RGB color: 0 204 102
Color html code: #33CC66 RGB color: 51 204 102
Color html code: #00FF99 RGB color: 0 255 153
Color html code: #33FF99 RGB color: 51 255 153
Color html code: #66FF99 RGB color: 102 255 153
Color html code: #006633 RGB color: 0 102 51
Color html code: #009966 RGB color: 0 153 102
Color html code: #339966 RGB color: 51 153 102
Color html code: #00CC99 RGB color: 0 204 153
Color html code: #33CC99 RGB color: 51 204 153
Color html code: #66CC99 RGB color: 102 204 153
Color html code: #009999 RGB color: 0 153 153
Color html code: #33CCCC RGB color: 51 204 204
Color html code: #00FFCC RGB color: 0 255 204
Color html code: #33FFCC RGB color: 51 255 204
Color html code: #66FFCC RGB color: 102 255 204
Color html code: #99FFCC RGB color: 153 255 204
Color html code: #00CCCC RGB color: 0 204 204
Color html code: #00FFFF RGB color: 0 255 255
Color html code: #33FFFF RGB color: 51 255 255
Color html code: #66FFFF RGB color: 102 255 255
Color html code: #99FFFF RGB color: 153 255 255
Color html code: #CCFFFF RGB color: 204 255 255
Color html code: #336666 RGB color: 51 102 102
Color html code: #006666 RGB color: 0 102 102
Color html code: #669999 RGB color: 102 153 153
Color html code: #339999 RGB color: 51 153 153
Color html code: #66CCCC RGB color: 102 204 204
Color html code: #99CCCC RGB color: 153 204 204
Color html code: #003333 RGB color: 0 51 51
Color html code: #0099CC RGB color: 0 153 204
Color html code: #3399CC RGB color: 51 153 204
Color html code: #00CCFF RGB color: 0 204 255
Color html code: #33CCFF RGB color: 51 204 255
Color html code: #66CCFF RGB color: 102 204 255
Color html code: #006699 RGB color: 0 102 153
Color html code: #336699 RGB color: 51 102 153
Color html code: #6699CC RGB color: 102 153 204
Color html code: #0099FF RGB color: 0 153 255
Color html code: #3399FF RGB color: 51 153 255
Color html code: #99CCFF RGB color: 153 204 255
Color html code: #003366 RGB color: 0 51 102
Color html code: #003399 RGB color: 0 51 153
Color html code: #0033FF RGB color: 0 51 255
Color html code: #3366CC RGB color: 51 102 204
Color html code: #0066CC RGB color: 0 102 204
Color html code: #0066FF RGB color: 0 102 255
Color html code: #000033 RGB color: 0 0 51
Color html code: #0033CC RGB color: 0 51 204
Color html code: #0000CC RGB color: 0 0 204
Color html code: #0000FF RGB color: 0 0 255
Color html code: #3366FF RGB color: 51 102 255
Color html code: #6699FF RGB color: 102 153 255
Color html code: #000066 RGB color: 0 0 102
Color html code: #000099 RGB color: 0 0 153
Color html code: #3333CC RGB color: 51 51 204
Color html code: #3300CC RGB color: 51 0 204
Color html code: #3300FF RGB color: 51 0 255
Color html code: #3333FF RGB color: 51 51 255
Color html code: #333366 RGB color: 51 51 102
Color html code: #333399 RGB color: 51 51 153
Color html code: #666699 RGB color: 102 102 153
Color html code: #6666CC RGB color: 102 102 204
Color html code: #6666FF RGB color: 102 102 255
Color html code: #9999CC RGB color: 153 153 204
Color html code: #330066 RGB color: 51 0 102
Color html code: #330099 RGB color: 51 0 153
Color html code: #6600FF RGB color: 102 0 255
Color html code: #6633FF RGB color: 102 51 255
Color html code: #9999FF RGB color: 153 153 255
Color html code: #CCCCFF RGB color: 204 204 255
Color html code: #330033 RGB color: 51 0 51
Color html code: #663399 RGB color: 102 51 153
Color html code: #6633CC RGB color: 102 51 204
Color html code: #6600CC RGB color: 102 0 204
Color html code: #9966FF RGB color: 153 102 255
Color html code: #9966CC RGB color: 153 102 204
Color html code: #663366 RGB color: 102 51 102
Color html code: #660099 RGB color: 102 0 153
Color html code: #9900FF RGB color: 153 0 255
Color html code: #9933FF RGB color: 153 51 255
Color html code: #9933CC RGB color: 153 51 204
Color html code: #CC99FF RGB color: 204 153 255
Color html code: #660066 RGB color: 102 0 102
Color html code: #996699 RGB color: 153 102 153
Color html code: #9900CC RGB color: 153 0 204
Color html code: #CC00FF RGB color: 204 0 255
Color html code: #CC33FF RGB color: 204 51 255
Color html code: #CC66FF RGB color: 204 102 255
Color html code: #993399 RGB color: 153 51 153
Color html code: #990099 RGB color: 153 0 153
Color html code: #CC33CC RGB color: 204 51 204
Color html code: #CC00CC RGB color: 204 0 204
Color html code: #CC66CC RGB color: 204 102 204
Color html code: #CC99CC RGB color: 204 153 204
Color html code: #CC3399 RGB color: 204 51 153
Color html code: #FF00FF RGB color: 255 0 255
Color html code: #FF33FF RGB color: 255 51 255
Color html code: #FF66FF RGB color: 255 102 255
Color html code: #FF99FF RGB color: 255 153 255
Color html code: #FFCCFF RGB color: 255 204 255
Color html code: #990066 RGB color: 153 0 102
Color html code: #CC0099 RGB color: 204 0 153
Color html code: #CC6699 RGB color: 204 102 153
Color html code: #FF33CC RGB color: 255 51 204
Color html code: #FF00CC RGB color: 255 0 204
Color html code: #FF66CC RGB color: 255 102 204
Color html code: #660033 RGB color: 102 0 51
Color html code: #993366 RGB color: 153 51 102
Color html code: #CC0066 RGB color: 204 0 102
Color html code: #FF0099 RGB color: 255 0 153
Color html code: #FF3399 RGB color: 255 51 153
Color html code: #FF99CC RGB color: 255 153 204
Color html code: #663333 RGB color: 102 51 51
Color html code: #996666 RGB color: 153 102 102
Color html code: #CC3366 RGB color: 204 51 102
Color html code: #FF0066 RGB color: 255 0 102
Color html code: #FF3366 RGB color: 255 51 102
Color html code: #FF6699 RGB color: 255 102 153
Color html code: #330000 RGB color: 51 0 0
Color html code: #990033 RGB color: 153 0 51
Color html code: #993333 RGB color: 153 51 51
Color html code: #CC3333 RGB color: 204 51 51
Color html code: #CC6666 RGB color: 204 102 102
Color html code: #CC9999 RGB color: 204 153 153
Color html code: #CC0033 RGB color: 204 0 51
Color html code: #FF0033 RGB color: 255 0 51
Color html code: #FF3333 RGB color: 255 51 51
Color html code: #FF6666 RGB color: 255 102 102
Color html code: #FF9999 RGB color: 255 153 153
Color html code: #FFCCCC RGB color: 255 204 204
Color html code: #990000 RGB color: 153 0 0
Color html code:#CC0000 RGB color: 204 0 0
Color html code: #FF0000 RGB color: 255 0 0
Color html code: #FF3300 RGB color: 255 51 0
Color html code: #CC3300 RGB color: 204 51 0
Color html code: #FF6633 RGB color: 255 102 51
Color html code: #660000 RGB color: 102 0 0
Color html code: #993300 RGB color: 153 51 0
Color html code: #CC6633 RGB color: 204 102 51
Color html code: #FF6600 RGB color: 255 102 0
Color html code: #FF9966 RGB color: 255 153 102
Color html code: #FFCC99 RGB color: 255 204 153
Color html code: #663300 RGB color: 102 51 0
Color html code: #996633 RGB color: 153 102 51
Color html code: #CC6600 RGB color: 204 102 0
Color html code: #CC9966 RGB color: 204 153 102
Color html code: #FF9933 RGB color: 255 153 51
Color html code: #FF9900 RGB color: 255 153 0
Color html code: #996600 RGB color: 153 102 0
Color html code: #CC9933 RGB color: 204 153 51
Color html code: #CC9900 RGB color: 204 153 0
Color html code: #FFCC33 RGB color: 255 204 51
Color html code: #FFCC00 RGB color: 255 204 0
Color html code: #FFCC66 RGB color: 255 204 102
Color html code: #CCCC00 RGB color: 204 204 0
Color html code: #FFFF00 RGB color: 255 255 0
Color html code: #FFFF33 RGB color: 255 255 51
Color html code: #FFFF66 RGB color: 255 255 102
Color html code: #FFFF99 RGB color: 255 255 153
Color html code: #FFFFCC RGB color: 255 255 204

This table includes 216 safe html color codes. Each color has a value in RGB to determine the color in graphic editors and HEX for specifying colors on html pages.

Liked the article? Share with friends!
Was this article helpful?
Yes
Not
Thanks for your feedback!
Something went wrong and your vote was not counted.
Thank you. Your message has been sent
Did you find an error in the text?
Select it, click Ctrl+Enter and we'll fix it!