Utilities
Color Converter
Paste any colour value and get HEX, RGB, HSL and CSS output at once, plus a contrast check against black and white text.
- Input
- fmtText
- Output
- TEXT
- Runs
- Your browser
shortAnswer
ToolBoxAll's Color Converter accepts #hex, rgb()/rgba() and hsl()/hsla() values and returns HEX, RGB, HSL and CSS in one pass, plus WCAG contrast ratios against black and white. Conversion is exact arithmetic computed inside the browser, so no colour value leaves the device.
- keyFact
- Accepts HEX, rgb(), rgba(), hsl() and hsla()
- keyFact
- Reports contrast ratios on black and white
- keyFact
- Exact arithmetic, no lookup tables
reviewedOn 2026-11-20
Output
Output appears here as you run the tool.
Tip: this tool runs entirely in your browser — your input never leaves the device.
How it works
three steps- 01
Paste a HEX, RGB or HSL value.
- 02
Read all three notations plus the CSS snippet.
- 03
Use the contrast line to pick readable text colour.
About this tool
Accepts #rgb, #rrggbb, rgb(), rgba() and hsl()/hsla() input. Conversion is exact arithmetic, not a lookup table, and the contrast ratio uses the WCAG relative-luminance formula so you can see whether white or black text is readable on it.
| Input | fmtText |
|---|---|
| Output | TEXT |
| Batch | One at a time |
| Per-file limit | — |
| Processing | Your browser |
| Account | Not required |