ToolBoxAlllocal toolkit
All tools

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.

UtilitiesFreeLocal
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

Runs in your browser · nothing is sent
0 characters
Updates live

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
  1. 01

    Paste a HEX, RGB or HSL value.

  2. 02

    Read all three notations plus the CSS snippet.

  3. 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.

Color Converter · Technical specifications
InputfmtText
OutputTEXT
BatchOne at a time
Per-file limit—
ProcessingYour browser
AccountNot required