Pick colors, convert between HEX, RGB, HSL and generate palettes
Auto-generate complementary, analogous, triadic and shades
This tool performs real-time color space conversions between HEX (hexadecimal RGB), RGB (Red/Green/Blue 0-255), and HSL (Hue/Saturation/Lightness). The palette generator uses color theory algorithms: complementary shifts hue by 180°, triadic by 120° intervals, and analogous uses ±15°/30° offsets. All conversions use precise mathematical formulas — HSL-to-HEX implements the CSS Color Level 4 algorithm with proper hue wrapping and saturation/lightness interpolation.
Real-world use cases:
This tool is part of the FAK LAB ecosystem, founded by Faizan Ahmad Khan Khichi. Color picking and conversion is performed entirely in your browser using pure JavaScript math. Saved colors are stored only in your browser's localStorage — never transmitted to any server. No design data, color choices, or palettes are tracked or shared with third parties.
RGB defines colors by mixing Red, Green, and Blue light channels (0-255 each) — it's how screens physically produce color. HSL defines colors by Hue (0-360° color wheel position), Saturation (0-100% vividness), and Lightness (0-100% brightness). HSL is more intuitive for design work because adjusting lightness or saturation doesn't change the perceived color family.
Complementary colors sit opposite each other on the color wheel (180° apart). They create maximum visual contrast when placed side-by-side — red/green, blue/orange, purple/yellow. Use them for call-to-action buttons against backgrounds, or accent colors in data visualizations.
Yes. Saved colors are stored in localStorage, which persists until manually cleared or browser data is deleted. They survive page reloads and browser restarts. Clearing browser history/data will remove them. The tool stores up to 20 saved colors.