What color is #FF8A2B? Reading RGB and hex color codes
In websites and design apps you'll see codes like #FF8A2B. That's a hex color code — a color written as numbers. Once you know the pattern, you can guess roughly what color a code is just by looking at it.
Three colors of light: RGB
Screens mix red (R), green (G) and blue (B) light to make every color. Each channel runs from 0 (off) to 255 (brightest).
- (255, 0, 0) = red
- (0, 0, 0) = black; (255, 255, 255) = white
- (255, 255, 0) = yellow — red and green light together make yellow
Hex is RGB written in base 16
Hexadecimal counts with 0–9 and A–F (10–15). Two hex digits cover 00 (0) to FF (255). A hex color is written #RRGGBB, two digits per channel.
Breaking down #FF8A2B:
- FF = 15 × 16 + 15 = 255 (red)
- 8A = 8 × 16 + 10 = 138 (green)
- 2B = 2 × 16 + 11 = 43 (blue)
Strong red, medium green, weak blue: an orange.
The short form
When both digits in each pair match, you can write one: #FFFFFF becomes #FFF, and #336699 becomes #369.
Choosing colors
- Text needs enough contrast with its background to be readable. Web accessibility guidelines (WCAG) generally call for a contrast ratio of at least 4.5 : 1 for normal text.
- Print uses CMYK ink rather than light, so a color on screen may look different on paper.
Try it with the color converter or the contrast checker.
What's the hex code of your favorite color? Share below.
This article is a post in the “News” room — keep the conversation going below. If you spot an error, use the correction and reply request form.
🔗 Copy link Copied
Live comments 0
No comments yet. Be the first to share a thought.