HTML Color Codes

Find the best HTML color codes for use in your web and other design projects.

Color Picker

More Info

Hex:
RGB:
HSL:

Pure HTML Color Codes

#000000

Black

#C0C0C0

Silver

#808080

Grey

#FFFFFF

White

#800000

Maroon

#FF0000

Red

#800080

Purple

#FF00FF

Fuchsia

#008000

Green

#00FF00

Lime

#808000

Olive

#FFFF00

Yellow

#000080

Navy

#0000FF

Blue

#008080

Teal

#00FFFF

Aqua


Color Chart

Select a color from the chart below to see more information.


What is a HTML color code?

A HTML color code is an identifier used to represent a color on the web. Common forms of these codes are as a keyword name, a hexadecimal value, a RGB (red, green, blue) triplet, and a HSL (hue, saturation, lightness) triplet. Each form allows a choice of 16,777,216 colors.

For example, the color red can be identifier using the following formats:

Because there are so many colors to choose from, tools have been created to make the task of selection much simpler. A color picker allows a user to select a color by clicking on visual range of color to pin-point an exact code. A color chart provides a listing of common colors for quick selection.

To use a selected color code within your webpage, you could place the following attribute within a given element to change its background color to red:

style="background-color: #ff0000;"

HTML color codes are used within HTML and CSS to create web design color schemes. They are primarily used by web designers, graphic designers, computer programmers, and digital illustrators. Choosing the correct web colors can be exhausting, but it is a great skill to have, especially for marketing purposes.

To read more about html colors, Wikipedia has a good resource on web colors: https://en.wikipedia.org/wiki/Web_colors.

Share!