👁️Hex Color Code
Also known as Hex Code, Hex Color, Hexadecimal Color
A # and six signs that name one exact screen color. #FF0000 is red.
Think of it like
It is like a short secret code for a paint color. Six signs name it exactly.
Example
Emma's brand guide lists the blue as #1E66F5. Every developer pastes that code and gets the same blue.
Why it matters
A hex code is exact. So a color stays the same from the design file to the live site.
Definition
Example code
css
color: #FF0000; /* red */
color: #1E66F5; /* a brand blue */
color: #FFF; /* short for #FFFFFF, white */Common mistake
Key takeaways
- 1Six characters. Pairs for red, green and blue.
- 200 to FF. None to full of each light.
- 3Exact and shareable. Copy it, get the same color.