PhotoRetrica

HTML Color Codes

Browse named HTML and CSS colors with their HEX and RGB values and copy any code in one click.

Files never leave your device100% free

How to use: HTML Color Codes

  1. 1

    Enter a color

    Type a color code or choose a color with the picker — every field accepts the format it shows.

  2. 2

    See it converted

    The result updates instantly as you type, together with a live preview of the color.

  3. 3

    Copy the code

    Copy the value you need with one click and paste it into your design, CSS or print settings.

Color names in HTML and CSS

HTML and CSS let you write a color as a keyword instead of a number. Besides the 16 basic names such as Red, Navy and Olive, browsers understand an extended set of about 140 names — Tomato, SteelBlue, RebeccaPurple and many more — and each of them maps to a fixed HEX value. Names are case-insensitive, so color: tomato and color: Tomato mean the same.

This page lists the named colors as swatches with their HEX code and RGB value. Type in the search box to filter by name or by part of a HEX code, and click a swatch to copy its HEX code. Named colors are convenient for prototypes and quick demos; for a brand palette, HEX, RGB or HSL values give you precise control over every shade.

Everything runs locally in your browser — your images are never uploaded to a server.