Color Codes: HEX & RGB Chart
All 148 named web colors with their HEX and RGB codes, grouped by color. Click a swatch to copy its HEX code, or search by name or code.
No named color matches that. Try the color converter for any code.
Reds (9)
Pinks (14)
Oranges (6)
Yellows (6)
Greens (20)
Cyans & teals (12)
Blues (17)
Purples (7)
Browns (17)
Whites (23)
Grays & black (10)
Frequently asked questions
What is a HEX color code?
A HEX code is a six-character code that starts with # and describes a color for screens — for example #FF0000 is pure red. The pairs of characters set the amount of red, green and blue from 00 (none) to FF (full).
How many named colors are there in HTML and CSS?
Browsers recognise 148 named colors, such as coral, navy, teal and rebeccapurple. Some names share a code: aqua and cyan are both #00FFFF, and fuchsia and magenta are both #FF00FF.
Can I use these color names in CSS?
Yes. Any name in this chart works directly in CSS, for example color: tomato;. For brand work, HEX codes are safer because they're exact and work in every design tool.
How do I find the code for a color I see?
Search this chart by name, or use a color picker to grab it, then paste it into the color converter to get HEX, RGB, HSL and CMYK — plus the closest named color.
Are these colors the same in print?
Not exactly. These are screen (RGB) colors. Printers use CMYK inks, and some bright screen colors can't be printed exactly. Use the CMYK & Pantone guide before sending files to print.
Keep building your brand
Color Palette Generator
Generate beautiful 3–8 color palettes in one click. Lock colors you love, pick a harmony, export to CSS, Tailwind or PNG.
Open tool TOOL_02Color Code Converter
Convert any color between HEX, RGB, HSL, HSV and CMYK. Get tints, shades, harmonies and a contrast check.
Open tool TOOL_04Font Pairing Tool
Hand-picked Google Font pairings for logos, websites and decks — including Arabic + English pairs for the UAE.
Open tool TOOL_05HEX to CMYK & Pantone Guide
Turn screen colors into print-ready CMYK values and learn how to find the right Pantone match for your brand.
Open toolWant a brand that looks this good everywhere?
BrandKev is a Dubai studio for digital marketing and brand creative. Book a free 20-minute call and we'll tell you honestly where we can help.