Hex colour code
A six-digit code starting with #, such as #7B3A1E, that gives the red, green and blue amounts of a screen colour.
A hex colour code is a way to write a screen colour as a short number, such as #7B3A1E. The # sign comes first, then six digits. You find it in web style sheets, logo files and brand guides.
The six digits are three pairs. The first pair is red, the second is green and the third is blue. Each pair runs from 00 (none of that colour) to FF (all of it). Wikipedia calls the whole thing a hex triplet, and says it is used in HTML, CSS and SVG.
Reading #7B3A1E pair by pair
Take a hardwood brown with red 123, green 58 and blue 30. In hexadecimal those are 7B, 3A and 1E. Joined together they give 7B3A1E. If a pair is below 16, it gets a leading zero, so 4, 8 and 16 become 040810.
| Code | Red | Green | Blue | Looks like |
|---|---|---|---|---|
| #FF0000 | FF | 00 | 00 | Pure red |
| #000000 | 00 | 00 | 00 | Black |
| #FFFFFF | FF | FF | FF | White |
| #7B3A1E | 7B | 3A | 1E | Hardwood brown |
There are shorter and longer forms. A three-digit code such as #F00 doubles each digit, so it means #FF0000. MDN says the same: if there is only one number, it is duplicated. That short form gives only 4,096 colours, against 16,777,216 for the six-digit form. An eight-digit code adds a pair for transparency.
Why a hex code is not an ink recipe
A hex code is built from light: red, green and blue added together on a screen. Printing works the other way, with inks that take light away from a white surface. Wikipedia notes that each model has its own range of colours, and colours visible on one may not be reproducible on the other. A bright blue or green from your logo file may print duller than it looks on your monitor.
For that reason a hex code tells a maker the colour you want, not how to make it. A Pantone number or a RAL number names a standard colour that a paint or ink shop can mix. If your brand guide lists only a hex code, send that and say so.
Brand hex values: paint we mix, UV prints we check
For painted parts, send the hex value from your brand guide and we mix the paint to match, in 1k or 2k paint. Filament colour is not reliable for a brand-exact result, so we print in a base colour and paint to your target. If a stock colour is close enough, we say so and you can pick one off the shelf. The spray paint colour catalogue shows the stock range.
For UV prints, the studio’s printed pages talk about Pantone matching rather than hex matching. If you only have a hex code, send it with your artwork and ask us how close the print can get. Screens shift colour, so a swatch on your phone is a guide, not a reference.
Frequently asked
What does a hex colour code mean?
It is three two-digit numbers joined together: red, green and blue, each from 00 to FF. #FF0000 is full red with no green or blue.
Is a hex code the same as a Pantone code?
No. A hex code describes a colour as light on a screen. A Pantone code names a mixed ink. We can mix paint to either one.
Can I send a hex code for a printed or painted part?
Yes. Send the hex value from your brand guide when you ask for a quote and we mix the paint to match. A screen cannot show the result exactly, so treat the swatch you see as a guide.