Colour

Hand off a design colour in HEX, RGB, and HSL

Check that three colour formats represent the same screen colour, then document the value your project should use.

Open Color Converter

Expand the abbreviated swatch

Imagine a design review where a designer shares #369 and a developer asks for RGB channels for a test fixture. Enter #369 in Color Converter. The three-digit CSS notation repeats each digit, so the full form is #336699. Read the result to confirm the red, green, and blue channels.

HEX  #336699
RGB  rgb(51, 102, 153)
HSL  hsl(210, 50%, 40%)

Re-enter the RGB values to verify the handoff

Enter 51, 102, and 153 in the matching RGB fields, or check the same values by pasting the full HEX code back into the tool. Use the HEX value as the reference if callers need to reproduce the exact screen channels. The displayed HSL values use whole numbers, so copying a rounded HSL display can shift some other colours slightly when converted back.

State where the colour will be used

Add the colour’s role to the handoff, such as the chart series or surface it belongs to. Check foreground and background contrast separately if the colour will carry text. If a printer requests CMYK, send the source colour and ask which profile it uses. The tool’s CMYK estimate is useful for discussion, while the print process determines the final conversion.

Further reading

Browse all guides · Suggest a correction