Convertisseur de couleurs
HEX ↔ RGB ↔ HSL ↔ RGBA — conversions instantanées.
Couleurs populaires
Recensioni e valutazioni
Scrivi una recensione
La tua valutazione *
Scopri come FileSwiftly raccoglie, utilizza e protegge i tuoi dati personali e file. Conforme al GDPR.
0/500 characters
Sii il primo a lasciare una recensione!
Strumenti correlati
Continua con questi strumenti complementari
Free Color Converter Online — HEX to RGB, HSL, RGBA and CMYK
Convert color codes between HEX, RGB, RGBA, HSL, HSLA and CMYK instantly with a live visual preview. Essential for web developers, designers and print professionals.
Color model guide: when to use each
HEX (#rrggbb): the standard for web CSS and HTML. Compact, widely used, the default format in most design tools. RGB (r, g, b): the screen color model — values 0-255 for red, green and blue channels. Used in CSS (rgb(255, 102, 0)), image editing software and any screen-display context. RGBA: RGB with an alpha (transparency) channel (0 = fully transparent, 1 = fully opaque). Essential for CSS overlays, semi-transparent elements and PNG color definitions. HSL (hue, saturation, lightness): the most intuitive model for designers — hue is the color wheel angle (0-360°), saturation is color intensity (0-100%), lightness is brightness (0-100%). Adjusting lightness while keeping hue and saturation fixed produces consistent tints and shades. CMYK: the print color model — cyan, magenta, yellow and key (black). Required for professional print production.
Why color models differ between screen and print
Screens use additive color mixing (RGB): combining red, green and blue light at full intensity produces white. Printers use subtractive color mixing (CMYK): inks absorb (subtract) light from white paper, so combining all inks produces black. Converting screen colors (RGB/HEX) to print (CMYK) is never a perfect 1:1 mapping — some vivid screen colors (particularly bright blues and greens) cannot be reproduced accurately in CMYK and may appear less vibrant in print. Always request a printed color proof before finalizing print materials.
FAQ
What is the difference between HEX and RGB?
HEX is the hexadecimal representation of RGB. #ff6600 = rgb(255, 102, 0). Both encode the same color — HEX is more compact, RGB is more readable in code.
How do I convert HEX to RGBA (with opacity)?
Enter your HEX color and the tool shows the RGBA equivalent. Set your desired opacity (0.0-1.0) in the alpha channel output. Example: #ff6600 at 50% opacity = rgba(255, 102, 0, 0.5).
Why does my CMYK color look different in print?
Screen colors (RGB/HEX) and print colors (CMYK) use different physical processes. Bright, highly saturated screen colors often cannot be reproduced exactly in CMYK — this is called being "out of gamut." Request a proof print to verify colors before final production.
What is HSL and why is it useful for design?
HSL (Hue, Saturation, Lightness) is the most intuitive model for choosing and modifying colors. To create a lighter tint, increase lightness while keeping hue and saturation the same. To desaturate a color, reduce saturation. This makes creating consistent color palettes much easier than adjusting RGB values directly.
Can I convert a color from a screenshot?
This tool converts color codes. To pick a color from a screenshot or image, use our Color Palette Extractor to identify the HEX code of colors in any image.
Is the conversion mathematically precise?
Yes. All conversions use the standard mathematical formulas (ITU-R BT.709 for HEX/RGB/HSL) and are rounded to standard precision (255 for RGB, 1% for HSL, 1% for CMYK).