Forgebox
← All tools

Convert

Color Converter

Convert between HEX, RGB, and HSL color formats.

Runs locally · no upload

HEX

#00c2a8

RGB

rgb(0, 194, 168)

HSL

hsl(172, 100%, 38%)

How to use this tool

Design systems, CSS, and design tools often speak different color languages. A converter between HEX, RGB, and HSL keeps handoff work fast and less error-prone.

What this tool does

Pick a color or paste a value, then read equivalent HEX, RGB, and HSL representations. Conversion happens locally for quick UI tweaks and token checks.

When to use it

Use it while translating Figma tokens into CSS, checking contrast-related values, or documenting a brand palette in multiple formats.

Tips

HEX is common in CSS and design docs. HSL is often easier when adjusting lightness for hover states.

Always verify final contrast for text on backgrounds; format conversion alone does not guarantee accessibility.

FAQ

Does it handle alpha channels? Focus on solid colors first; transparent colors may need separate CSS opacity handling.