EN
Start free
Start free

What is a hex code?

A hex code is a six-character code that names an exact colour for screens, written after a hash sign, such as #2E7D32. Its three pairs of characters give the amounts of red, green and blue in hexadecimal notation, from 00 to FF.

Last updated

In more detail

Hex codes remove guesswork. "Dark green" means something different to every person and every screen, while #2E7D32 is the same colour in every design tool, website and slide deck. Each pair of characters runs from 00, meaning none of that colour, to FF, meaning the maximum. So #000000 is black, #FFFFFF is white, and #FF0000 is pure red. Brand palettes list a hex code for every colour, and designers paste the code instead of picking by eye. Web developers use the same codes in stylesheets. The common mistake is sampling a colour from a screenshot or a photograph of the logo. Compression and screen settings shift the values, and the wrong code then spreads through every file. Another mistake is using hex codes for print. A hex code describes light on a screen; printers need CMYK or spot colour values, which the brand palette should list separately.

Put the words into practice

Wonib learns your brand once, then makes the posts, pictures, copy, decks and documents in it, checked against the brand before you see them. Start free with 1,000 credits, no card needed.

Last updated

Start free with 1,000 credits

No card needed. Sign up with Google or your email, confirm it, and make your first piece in minutes.

Continue with Google

or

Already have an account? Sign in