HEX, RGB & HSL Color Converter
Pick or paste any HEX or RGB color to convert between HEX, RGB, and HSL, inspect WCAG contrast safety, and copy matching shades.
Methodology, Worked Example & Limitations
Verified technical behavior of Color Converter on Fuzengine Tools.
What It Does & Who Uses It
Parses CSS hex codes (#FFF / #FFFFFF) or RGB tuples, performs exact trigonometric RGB-to-HSL projection (H 0..359°, S 0..100%, L 0..100%), computes sRGB relative brightness (0.299R + 0.587G + 0.114B) for dark/light label legibility hints, and generates 5 tonal steps across lightness (18%..88%).
Built for: UI designers, frontend CSS engineers, brand managers, and accessibility auditors.
Worked Example
#0B7A55 (Fuzengine emerald accent) converts to rgb(11, 122, 85) and hsl(160, 83%, 26%), flagging white foreground text as readable.
Understanding the Output: Clicking any shade tile promotes that tint into the main editor for easy palette exploration.
Formula & Processing Method
HSL computes max/min normalized RGB channels [0..1]; L = (max+min)/2; saturation & hue map across six chromatic sectors.
Known Limitations & Scope
Uses sRGB / HSL model rather than wide-gamut oklch() or CMYK print separation spaces.
See also: All Converters Tools · Full Privacy Spec
Frequently Asked Questions
Can I paste shorthand 3-character HEX codes like #0F8?
Yes. Shorthand 3-digit hex values automatically expand cleanly to full 6-digit #00FF88 before converting RGB and HSL.