HEX to RGB, HSL & CMYK Color Converter
Convert hex color codes into RGB, HSL, and CMYK color spaces.
Tool inputs stay in your browser · optional AI search sends your query
Good to know: Converts HEX color codes to digital display (RGB, HSL) and four-color print (CMYK) spaces.
How to use it (step by step)
- 1Fill in the boxes: “HEX Color Code (e.g. #2563EB or 2563EB)”. Example numbers are already there so you can see how it works; replace them with yours.
- 2The result updates instantly as you type (on a phone it is below the boxes).
- 3The bold line is the main answer. Tap Copy next to any value to copy it.
Words to know
- Hex / binary
- Other ways of writing numbers. Binary uses only 0 and 1; hex uses 0–9 and A–F.
- Hex color code
- A color written as # and 6 characters, like #2563EB (blue). Design apps understand it.
- RGB / HSL
- Ways to describe a color: RGB mixes red, green and blue light; HSL uses hue (color), saturation (strength) and lightness.
- DPI / RGB / CMYK
- DPI is dots per inch for printing. RGB uses screen colors; CMYK uses printing inks. This tool exports RGB only.
More in Developer
JSON to XML ConverterConvert JSON into well-formed XML with your own root element name.JSON to Go StructGenerate Go structs with json tags from sample JSON, including nested objects and lists.JSON to Python Class (Dataclass / Pydantic)Generate Python dataclasses or Pydantic models from sample JSON, with type hints.YAML to JSON Converter & ValidatorConvert YAML (Docker Compose, Kubernetes, GitHub Actions, configs) to JSON and catch indentation mistakes.XML Formatter & ValidatorPretty-print messy XML with clean indentation, or minify it, and find unclosed tags.SQL Formatter (Beautifier)Format long SQL queries into readable lines: SELECT, FROM, JOIN, WHERE, GROUP BY each on their own line.