Convert a hex colour to RGB, with the colour in all common formats.
Color and design tools
Convert color spaces, build palettes and gradients, and check WCAG and APCA contrast.
About Color and design tools
Color conversion is only well defined once the color space is pinned down. These tools treat hex and RGB input as sRGB with the standard transfer function, convert through CIE XYZ with a D65 white point for LAB, and implement OKLCH to its published specification - a perceptually uniform space where equal numeric steps look like equal visual steps, which is why it produces better palettes than HSL. CMYK is the honest exception: without an ICC profile and a press condition there is no single correct RGB-to-CMYK mapping, so these tools apply a simple naive conversion and say plainly that it is a preview, not a print-ready separation. Contrast checks implement both the WCAG 2.x ratio and the APCA estimate, with APCA marked as a draft measure.
50 tools
- Browser
Convert an RGB colour to a hex code.
BrowserConvert a hex colour to HSL (hue, saturation, lightness).
BrowserConvert an HSL colour to a hex code.
BrowserConvert an RGB colour to HSL.
BrowserConvert an HSL colour to RGB.
BrowserConvert an RGB colour to CMYK (for print).
BrowserConvert a CMYK colour to RGB.
BrowserConvert a hex colour to HSV/HSB (hue, saturation, value).
BrowserConvert an HSV/HSB colour to a hex code.
BrowserConvert an RGB colour to CIELAB (L*a*b*, D65).
BrowserConvert a CIELAB colour to RGB.
BrowserConvert an RGB colour to OKLCH (lightness, chroma, hue).
BrowserConvert an OKLCH colour to RGB.
BrowserPick a colour and see it in every format — hex, RGB, HSL, HSV and CMYK.
BrowserGenerate a four-colour palette from a base colour: two neighbours and the complement.
BrowserGenerate a complementary palette: a base colour and its opposite on the colour wheel.
BrowserGenerate an analogous palette: a base colour and its neighbours on the colour wheel.
BrowserGenerate a triadic palette: three colours evenly spaced around the colour wheel.
BrowserGenerate a tetradic (square) palette: four colours evenly spaced around the wheel.
BrowserGenerate a monochromatic palette: five shades of one colour from light to dark.
BrowserGenerate a tonal scale from a base colour with each shade’s contrast against white and black.
BrowserFind the WCAG contrast ratio between two colours, with AA/AAA pass marks.
BrowserCheck whether text and background colours meet WCAG AA contrast.
BrowserCheck whether text and background colours meet the stricter WCAG AAA contrast.
BrowserEstimate the APCA contrast (Lc) between text and background — the model behind WCAG 3.
BrowserBuild a CSS gradient from an angle and a list of colours.
BrowserBuild a CSS linear-gradient from an angle and a list of colours.
BrowserBuild a CSS radial-gradient from a shape and a list of colours.
BrowserBuild a CSS conic-gradient from a starting angle and a list of colours.
BrowserBuild a CSS box-shadow from offsets, blur, spread and colour.
BrowserBuild a CSS text-shadow from offsets, blur and colour.
BrowserBuild a CSS border-radius from the four corner radii.
BrowserGenerate a CSS clip-path for a preset shape.
BrowserBuild a CSS filter from blur, brightness, contrast, saturate and grayscale.
BrowserBuild a CSS transform from translate, rotate and scale.
BrowserGenerate frosted-glass CSS (translucent background plus backdrop blur).
BrowserGenerate soft-UI (neumorphic) box-shadow CSS from a surface colour.
BrowserGenerate CSS for a simple equal-column (and optional row) grid.
BrowserGenerate CSS for a flex container from direction, justification and alignment.
BrowserGenerate a spacing scale from a base size and a ratio.
BrowserGenerate a modular type scale from a base font size and a ratio.
BrowserConvert a rem value to pixels for a given root font size.
BrowserConvert pixels to rem for a given root font size.
BrowserConvert an em value to pixels for a given font size.
BrowserConvert pixels to em for a given font size.
BrowserSimulate how a colour looks under protanopia, deuteranopia or tritanopia.
BrowserExport a list of colours as CSS custom properties, SCSS variables or a JSON array.
BrowserGenerate an 11-step (50–950) colour scale from a base colour, Tailwind-style.
BrowserExport a colour as a JSON token with every common format.
Browser
Why use Color and design tools here
Private by design
Browser tools never upload your data; files sent to a server tool are deleted automatically on a published schedule.
Free, no sign-up
Every tool is free with no account, no trial and no feature locked behind a paywall.
Works on any device
Responsive and fast on phones, tablets and desktops — nothing to install.
No ads or trackers
No advertising, no analytics script and no cookie banner to dismiss.
Explore other categories
- Length converters210
- Weight and mass converters156
- Digital storage converters156
- Volume converters132
- Area converters72
- Time unit converters72
- Temperature converters12
- Pressure converters56
- Energy converters56
- Speed converters20
- Power converters20
- Angle converters20
- Frequency converters20
- Typography and print size converters30
- Data format converters38
- Developer utilities90
- Text tools69
- Math and statistics72
- Date and time tools36
- Generators and randomizers50
- Locale formatting50
- Finance calculators73
- Health and fitness estimators40
- Education and study tools42
- Business and office tools42
- Files and archives25
- Image format converters56
- Image editors51
- PDF utilities26
- Audio format converters64
- Video format converters81
- Video and audio editors42
- Web and network tools32
- SEO tools71
- Website helpers44
Find the right tool for the job
Browse every free tool, or search by what you want to get done.