Free calculators, PDF, photo and audio tools.
Or pick a job
New tools, new guides and money tips by email. No spam, and you can leave any time.
Free. We never share your email.
Developer Tools
Color Format Converter
Convert colours between HEX, RGB and HSL formats in either direction, with a live colour preview.
The Color Format Converter translates any colour between HEX, RGB, HSL, HSV/HSB and CMYK as you type, with a colour picker, a live preview, a text-contrast check for white and black text, and a row of tints and shades. Tap any value to copy it.
HEX (#8b5cf6) and RGB (rgb(139, 92, 246)) describe amounts of red, green and blue from 0 to 255. HSL describes hue (0–360°), saturation and lightness; HSV/HSB, used in design apps like Photoshop and Figma, uses brightness instead of lightness. CMYK is the cyan, magenta, yellow and black used in printing.
HSL makes adjustments intuitive: to make a darker shade, lower the lightness; for a muted version, lower the saturation; for a different colour with the same feel, change only the hue. The tints and shades row does the lightness part for you.
Screens mix light (RGB) and printers mix ink (CMYK), and printers can't reproduce every screen colour. The CMYK figure here is the standard mathematical conversion, which is fine for a starting point; for exact print colours, ask your printer for their colour profile.
Convert it to RGB when the app you use asks for red, green and blue numbers.
Convert a colour to HSL to make it lighter or darker by changing only the last number.
HEX with or without # (including 3-digit shorthand like #fff), rgb(…) and hsl(…). Or use the colour picker.
HEX, rgb() and hsl() all work in every modern browser. HEX is compact; HSL is easiest to adjust by hand.
The text-contrast boxes show the contrast ratio with white and black text and whether it passes the 4.5:1 accessibility guideline.
Split the six-digit code into three pairs and convert each pair from base 16 to a number from 0 to 255. For #8B5CF6, 8B is 139, 5C is 92 and F6 is 246, giving rgb(139, 92, 246). The converter does this instantly as you type.
Both use the same hue angle but treat brightness differently: in HSL, 100% lightness is always white and full colour sits at 50%, while in HSV (also called HSB), 100% value is the brightest form of the colour. Design apps like Photoshop often use HSB, while CSS uses HSL.
The CMYK shown is a simple mathematical estimate from the RGB values, with no printer or paper profile. Real print results depend on the press, ink and paper, so ask your printer for their exact CMYK values or a colour proof for important brand colours.
The WCAG accessibility guideline asks for at least 4.5:1 for normal text and 3:1 for large text. The contrast check shows the ratio for white and black text on your colour, marking it AA, Large text only, or Too low.
It is the newer space-separated CSS syntax, like rgb(139 92 246), which means the same as rgb(139, 92, 246). All current browsers support both forms, so use whichever matches the style of your existing stylesheet.
Yes. A three-digit HEX code is shorthand where each digit is doubled, so #FFF means #FFFFFF and #8B5 means #88BB55. The converter accepts both, with or without the # sign, and HEX codes are not case-sensitive.
No. You can paste rgba() or hsla() values and the colour is read, but the alpha (transparency) part is ignored and all results are for the solid colour. Eight-digit HEX codes with an alpha value are not read.
A tint is a lighter version of a colour and a shade is a darker one. The row below the converter keeps your hue and saturation and steps lightness from 95% down to 15%. Tap any of them to switch the converter to that colour.
Free calculators, PDF, photo and audio tools.
New tools, new guides and money tips by email. No spam, and you can leave any time.
Free. We never share your email.
Every tool on Quick Work Studio, free and in your browser. Prefer reading first? See the guides or full directory.
Convert colours between HEX, RGB and HSL formats in either direction, with a live colour preview.
Save favourites across visits.
Update the password for your account.
This permanently deletes your account, your saved favourites, your synced notes and tasks, and any feedback linked to it. It can't be undone. Every tool keeps working without an account.
Found a bug or want a new tool? Tell us. We read every message.
Prefer email? contact@quickworkstudio.com
Your feedback is on its way to us.
Open all 182 tools from your home screen, full screen, like an app.
Free, no app store, under 1 MB. Remove it any time like any other app.
It opens straight into this tool, full screen, like an app.
A few taps, under 30 seconds.
What kind of tool?
How often would you use it?
Sign in to keep your favourites, saved results and settings on all your devices.
New here? Create a free account
Forgot your password? Reset it by email
Your saved results (0)Every tool works without signing in. An account keeps your favourites, saved results, settings and Selnah chats on all your devices.
Open any saved answer again, or share it.
Takes 20 seconds. No card, no spam.
Already have one? Sign in
Enter the email you signed up with. We'll send you a link to set a new password.
Remembered it? Sign in
Choose a new password for your account. You'll be signed in, and signed out on your other devices.
Link not working? Get a new one
Your favouritesSee all
Recently used
Settings
Tools keep working without an account, and you can sign up again any time.
Appearance
Tools
Your data
Help & info
Legal
Quick Work Studio · version 2.99