Hex Color Validator
Validate hexadecimal color codes
Hex Color Input
0 chars
Validation Result
What are Hex Colors?
Hex colors are 6-digit codes representing colors in web design. They use hexadecimal notation (0-9, A-F) to define red, green, and blue values.
Our validator supports both 6-digit (#FF0000) and 3-digit (#F00) shorthand formats, with or without the # prefix.
Hex Color Format
6-Digit Format
#RRGGBB - Each pair represents red, green, blue values (00-FF).
3-Digit Shorthand
#RGB - Each digit is doubled (#F00 = #FF0000).
Common Colors
#FF0000 (red), #00FF00 (green), #0000FF (blue), #000000 (black), #FFFFFF (white).