Color Converter
Convert colours between HEX, RGB, HSL, HSV, CMYK and CSS names, with transparency, sliders, a contrast check and tints and shades.
Convert colours between HEX, RGB, HSL, HSV, CMYK and CSS names, with transparency, sliders, a contrast check and tints and shades.
About this tool
Designers, developers and printers describe the same colour in different ways: a website uses HEX like #1E90FF or rgb(30, 144, 255), a design tool shows HSL or HSB, and a print shop asks for CMYK. This converter translates between all of them in one place. Type or paste a colour in any common format and it is recognised automatically: three-, six- or eight-digit HEX, rgb() and rgba(), hsl() and hsla(), hsv() or hsb(), cmyk(), or a CSS colour name such as tomato or rebeccapurple. Every other format appears straight away with its own copy button: HEX, HEX with alpha, RGB or RGBA, HSL or HSLA, HSV/HSB, CMYK, plain RGB numbers, and the 0xAARRGGBB value used in Android and Flutter code. You can also pick a colour from the swatch, or fine-tune it with sliders for red, green, blue, hue, lightness and opacity, each drawn with its own colour gradient so you can see where you are heading. A contrast panel shows how readable text in this colour is on a white and on a black background, using the WCAG ratio and grades (AA, AAA, AA large or fail), which matters for buttons and links. A strip of nine tints and shades from light to dark helps you build hover states and palettes; tap any of them to make it the current colour. Conversions are calculated exactly in your browser. CMYK is a straightforward screen conversion, so for printing ask your print shop for values that match their colour profile.

Type HEX, RGB, HSL, HSV, CMYK or a colour name, or use the picker.
Use the RGB, hue, lightness and opacity sliders.
Every format has its own copy button.
See the WCAG ratio on white and black, and pick tints and shades.
HEX, rgb(), hsl(), hsv(), cmyk() or a CSS name.
Including HEX + alpha and Android/Flutter values.
Alpha in HEX8, RGBA and HSLA.
RGB, hue, lightness and opacity with gradients.
WCAG ratio and AA/AAA grade on white and black.
Nine steps from light to dark, one tap to use.
Same colour, every format
Turn a design’s HEX into rgba() with transparency for CSS.
Example#1E90FF at 50% becomes rgba(30, 144, 255, 0.5) for an overlay.
Move between HSL in CSS and HSB in design apps.
ExampleA brand colour in HSB from Figma is converted to HSL for a stylesheet.
Get a starting CMYK value for a logo colour.
ExampleA screen orange is converted to cmyk(0%, 80%, 95%, 0%) to discuss with the printer.
Get the 0xAARRGGBB value for Android and Flutter.
ExampleA HEX brand colour becomes 0xFF1E90FF for a Flutter theme.
Make sure text on buttons is readable.
ExampleGrey text at 3.2:1 on white fails, so a darker shade is chosen from the strip.
Create lighter and darker versions of one colour.
ExampleNine tints and shades become the 100–900 scale of a design system.
Pick the right format for the job
In HSL, changing only the lightness gives lighter and darker versions of the same hue, perfect for hover and active states.
WCAG AA needs 4.5:1 for normal text and 3:1 for large text. Check before you ship a new button colour.
Screens and printers reproduce colour differently. Treat screen-to-CMYK as a starting point and ask for a proof.
#RRGGBBAA adds transparency, for example #1E90FF80 is 50% opacity. Most modern browsers support it.
Pick exact pixel colours from a photo or screenshot with the Image Color Picker.
Open Image Color PickerPull the main colours out of any image with the Palette Extractor.
Open Palette ExtractorSenior Software Engineer · Developer of Toolyconvert
Hemant developed Color Converter and tests it on desktop and mobile with real files. He is a senior software engineer from Dehradun, India, building websites since 2014, and designed and developed Toolyconvert end to end.
Last updated 12 November 2026
Featured on
Toolyconvert is listed on these product directories and launch platforms.