DO IT EASY APP
English

Color code finder (HEX and HTML color names)

Find the HEX code and HTML name of main colors right away, or pick any shade and get its code. RGB, HSL and CSS code are ready too.

  • No sign-up, no fees.
  • Shows the HEX code and HTML name of main colors with one click.
  • Pick any shade by dragging the color wheel and find its code.
  • HEX, short HEX, HTML name, RGB, HSL and a CSS line are ready; all can be copied.
  • Search 141 HTML color names by name, HEX or color family.
  • What you type is processed, but never shared with anyone.

Color picker: how to find a color code

You want the code of a color you'll use in a site or a design. Three ways:

  1. Pick from the main colors. Click one of 24 main colors like red, blue, green, navy or maroon; the HEX code and HTML name appear right away.
  2. Pick your own shade. Drag the marker on the color wheel: going around the wheel changes the color (red, yellow, green, blue, purple…), and moving toward the center fades it to gray. The Brightness slider below takes it from dark to light. If you know the code you can type it in, or use your browser's color picker.
  3. Search by name. In the list below, search the 141 HTML color names by name (salmon), HEX (FA8072) or Turkish name (for the main colors); filter by color family.

In the result box, take each code with the Copy next to it.

What are a HEX code and an HTML color name?

A HEX code writes a color as a six-digit code starting with #: the first two digits are the amount of red, the next two green, the last two blue (#FF0000 is pure red). It's the most common form on web pages and in design programs. The three-digit short form (#F80) exists only for colors where each pair is identical.

An HTML color name writes the color as a word: red, navy, coral. CSS and HTML recognize 141 names. A name is short and readable, but it only exists for those 141 colors; for any other shade you use HEX.

What if my color doesn't match a name?

Most shades aren't named colors. In that case the tool shows the nearest HTML name and the three closest colors; click one to use it. The code itself is always right; the name is only an approximate guide.

What you need to know

  • RGB and HSL are other ways of writing the same color; rgb(51, 102, 204) and hsl(220, 60%, 50%) work directly in CSS.
  • The CSS line (color: #3366CC;) is a ready rule you can paste into your stylesheet; if there's an exact name, the name is written.
  • When you choose a text color, make sure there's enough contrast with the background; for checking there's the color converter.
  • Screens show colors differently; for print, a color code is only an approximate starting point.

Tips

Frequently asked questions

Is the color code finder free?

Yes, it's free with no sign-up.

What is the HEX code for red?

Pure red is #FF0000. Dark red (maroon) is #800000; for lighter red shades you can pick from the color wheel.

Is there a difference between HEX and an HTML code?

They're two ways of writing the same thing: #FF0000 and red give the same color. Names exist for only 141 colors, while HEX can write all 16 million.

How do I find the name of the color I picked?

Look at the HTML color name row in the result box. If there's no exact name, the nearest one is shown.

Where do I put the color code?

In CSS as color: #3366CC; or background: #3366CC;; in HTML as style="color: #3366CC". In design programs you type it into the HEX box.

Is what I pick saved anywhere?

No. What you type is processed, but never shared with anyone; it all happens in your browser.

Can I use it on my phone?

Yes; the color wheel works with your finger on a touch screen.

Related tools