How to use
Paste your hex code
Drop your color into the Input (HEX) field, formatted like #RRGGBB. Shorthand such as #F80 and 8-digit codes with alpha are accepted too, and the field starts with #6366F1 as a sample.
Check the live preview
A large color swatch renders directly under the input the moment your code parses. If you see the warning 'Could not parse, check format', fix a typo or a missing digit before copying anything.
Copy the RGB row
Six format rows appear below the swatch: HEX, RGB, HSL, HSV, CMYK, and OKLCH. The RGB row is highlighted. Click its copy button to grab the rgb() string for your stylesheet.
Why HEX to RGB
- Pastes any HEX color and converts to RGB, HSL, HSV, CMYK, OKLCH.
- Handles 3-digit and 8-digit (alpha) hex codes.
- Live color preview at top.