HTML Color Codes

Get HTML color codes, Hex color codes, RGB, HSL and OKLCH values with our color pickers, color wheel, color chart and HTML color names. Let's go!

Color Codes
FEEBE7
FCC6BB
FAA18F
F87C63
F54927
F4320B
C82909
9C2007
701705
440E03
180501
Pick a color

Color Picker

Find any color and its shades, tints, tones and harmonies.

Try it
Extract colors

Image Color Picker

Extract colors and palettes from an uploaded image.

Try it
Find a harmony

Color Wheel

Create beautiful harmonies based on color theory.

Try it
View the charts

Color Chart

Sample colors from four preset web design palettes.

Try it
Browse the list

Color Names

Browse the 140 named CSS colors and other lists.

Try it
Explore the library

Color Library

Explore 100+ of the most popular shades and colors.

Try it

What are HTML color codes?

Color codes are ways of representing the colors we see everyday in a format that a computer can interpret and display. Commonly used in websites and other software applications, there are a variety of formats, including Hex color codes, RGB and HSL values, and HTML color names, amongst others.

Hex color codes

The most popular are Hex color codes; three byte hexadecimal numbers (meaning they consist of six digits), with each byte, or pair of characters in the Hex code, representing the intensity of red, green and blue in the color respectively.

Hex code byte values range from 00, which is the lowest intensity of a color, to FF which represents the highest intensity. The color white, for example, is made by mixing each of the three primary colors at their full intensity, resulting in the Hex color code of #FFFFFF.

Black, the absence of any color on a screen display, is the complete opposite, with each color displayed at their lowest possible intensity and a Hex color code of #000000.

Understanding the basics of Hex color code notation we can create grayscale colors very easily, since they consist of equal intensities of each color:

The three primary colors, red, green and blue, are made by mixing the highest intensity of the desired color with the lowest intensities of the other two:

With modern browsers supporting the full spectrum of 24-bit color, there are 16,777,216 different color possibilities. Use our color picker to explore all 16.7 million of them, or if that’s too many, check out our color charts for a selection of palettes focused on flat design, Material design and web safe colors.

List of Common Color Codes

ColorNameHex codeRGB codeHSL code
WhiteFFFFFF255, 255, 2550, 0, 100
SilverC0C0C0192, 192, 1920, 0, 75
Gray808080128, 128, 1280, 0, 50
Black0000000, 0, 00, 0, 0
RedFF0000255, 0, 00, 100, 50
Maroon800000128, 0, 00, 100, 25
YellowFFFF00255, 255, 060, 100, 50
Olive808000128, 128, 060, 100, 25
Lime00FF000, 255, 0120, 100, 50
Green0080000, 128, 0120, 100, 25
Aqua00FFFF0, 255, 255180, 100, 50
Teal0080800, 128, 128180, 100, 25
Blue0000FF0, 0, 255240, 100, 50
Navy0000800, 0, 128240, 100, 25
FuchsiaFF00FF255, 0, 255300, 100, 50
Purple800080128, 0, 128300, 100, 25