Here’s a quick reference for the most basic HEX colour values. These are the building blocks — once you understand how red, green, and blue channels combine in hex, you can read any colour code at a glance.

HEX colours use a #RRGGBB format where each pair represents a value from 00 (none) to FF (full) for red, green, and blue.

Colour HEX Code
Black #000000
Red #FF0000
Green #00FF00
Blue #0000FF
Yellow #FFFF00
Cyan #00FFFF
Magenta #FF00FF
Silver #C0C0C0
White #FFFFFF

You can also use shorthand for simple values — #000 is the same as #000000, and #F00 is the same as #FF0000. Most editors and browser dev tools will show you a colour picker these days, but knowing the basic hex values by heart still comes in handy.