Converting Hex Tokens for RGBA Opacity & Canvas APIs
Turn hex colors from Figma specs into decimal R, G, B integers required by `rgba(r, g, b, alpha)`, WebGL shaders, and HTML5 Canvas drawing scripts.
Translate hexadecimal web color codes into decimal RGB channel values, CSS `rgb()` strings, HSL coordinates, and CMYK print percentages. Supports both standard 6-digit (`#0F766E`) and shorthand 3-digit (`#0AF`) hex notation with an instant live color preview.
Three or six digits, with or without #.
HEX
#0F766E
RGB
rgb(15, 118, 110)
HSL
hsl(175, 77%, 26%)
CMYK
cmyk(87%, 0%, 7%, 54%)
Paste or type a 6-digit or 3-digit HEX color code (with or without the leading `#` symbol) into the input box.
Verify the live color swatch preview to confirm it matches your intended shade.
Read the converted RGB, HSL, and CMYK values along with individual Red, Green, and Blue channel numbers.
Click Copy next to the format you need to paste it straight into your code or design app.
Turn hex colors from Figma specs into decimal R, G, B integers required by `rgba(r, g, b, alpha)`, WebGL shaders, and HTML5 Canvas drawing scripts.
Desktop office suites often ask for separate Red, Green, and Blue numbers (0–255) rather than a HEX code when defining custom theme colors.
Quickly pull the HSL and CMYK counterparts of every primary brand hex token when documenting a multi-channel style guide.
Automatically expands CSS shorthand hex codes like #0AF into full #00AAFF precision.
Renders the exact color immediately as you type or paste.
Computes Hue/Saturation/Lightness and Cyan/Magenta/Yellow/Black alongside RGB.
Nothing is uploaded to a remote server, so your data and files stay strictly on your device.
No account registration, no watermarks, and no daily usage caps.
Responsive layouts and comfortable touch controls that fit phones, tablets, and desktops.