IPTool IPTool

Fast system administrator tools

Convert colors between HEX, RGB, HSL and HSV formats. Pick a color visually or enter a value in any format to see equivalents in all others.

Color converter

Model reference

Below are brief descriptions of the color models supported by this tool.

HEX

HEX is the hexadecimal form of RGB. #RRGGBB uses one byte per red, green and blue component. Short form #RGB is allowed where each character is doubled. Common in CSS/HTML and design specifications.

RGB / RGBA

RGB defines color as a mix of red, green and blue, 0–255 or in percent. RGBA adds alpha (opacity) from 0 to 1. Common on screens and the Web; used by CSS rgb()/rgba() and most digital graphics.

HSL / HSLA

HSL is a cylindrical representation of RGB: Hue (0–360°), Saturation (0–100%), Lightness (0–100%). HSLA adds an alpha channel. Useful for picking tints and lightness. Common in CSS color pickers and UI theming; supported by CSS hsl()/hsla().

HSB / HSV

HSB/HSV is similar to HSL but uses brightness/value instead of lightness. Widely used in graphics editors, color pickers and UI sliders in design tools.

CMYK

CMYK is a subtractive print model: higher values produce darker colors. Components are given as ink percentages for C, M, Y and K. Used for printing/press; common in prepress workflows and CMYK profiles.

XYZ

CIE 1931 XYZ is a reference color space with imaginary primaries; used as a base for technical color conversions. Used in color science and device‑independent workflows; not a format for everyday design or CSS.

LAB

CIELAB (1976) is computed from XYZ and is closer to human perception: equal coordinate changes yield similar visual differences. Used for color difference (ΔE), calibration/profiling and device‑independent processing.

What it is

The color converter translates between HEX, RGB/RGBA, HSL/HSLA, HSB/HSV, CMYK, XYZ and LAB. It is useful for UI design, hand‑off to print and basic color science tasks.

How it works

Type a color in any field — all other models update instantly. Use the Random button to generate a sample. RGB accepts 0–255 or percentages, HSV and HSB are interchangeable, and RGBA/HSLA include an alpha (opacity) value.

Limitations & notes

  • Calculations assume the sRGB color space with a D65 white point. XYZ/LAB are derived for D65.
  • Values are rounded (channels to integers, some outputs to 2 decimals), so round‑trips may differ slightly.
  • CMYK conversion here is a device‑independent approximation (no ICC profiles); press results may vary.
  • Alpha applies only to RGBA/HSLA. Other models are shown as opaque.

Related tools