Convert a HEX colour code to RGB, HSL, and CMYK values instantly
Working with colour on the web requires fluency in multiple colour formats. A designer's colour swatch tool exports a colour as HEX (#FF5733), but the frontend CSS needs it in RGB (255, 87, 51), and the API documentation lists it in HSL (11°, 100%, 60%) for accessibility adjustments. Converting between these formats manually is tedious and error-prone. A hex-to-rgb converter eliminates guesswork by instantly translating any hex code into RGB, HSL, and CMYK values, with a live colour preview so you can verify the result matches your intent. UI designers preparing a design system often work from a Figma file where colours are shown as hex values, but need to supply RGB triplets to developers or CMYK breakdowns to print vendors. A developer integrating a colour palette API that returns hex codes but needs to manipulate individual colour channels in code benefits from seeing all formats side by side. Accessibility auditors and colour-blind users also rely on multiple format views to find combinations that work across different colour spaces and perceptual models. All conversion runs instantly in your browser — enter a hex code or paste one from your design tool, and all equivalent formats appear immediately. The live swatch preview lets you confirm you have the right colour before copying it into code, CSS, or design tools.
rgb(124, 58, 237)hsl(262, 83%, 58%)cmyk(48%, 76%, 0%, 7%)Instant conversion — HEX to RGB, HSL, and CMYK conversions happen instantly — no delay or processing time.
Multiple colour formats — See your colour in HEX, RGB, HSL, and CMYK simultaneously, useful for web, CSS, and print design workflows.
Live colour preview — A large swatch shows the colour in real time, confirming visually that you have the right shade.
One-click copy — Copy any format (HEX, RGB, HSL, CMYK) directly to your clipboard without manual text selection.