FAK LAB Color Picker
🎨

Color Picker & Converter

Pick colors, convert between HEX, RGB, HSL and generate palettes

Palette Generator

Auto-generate complementary, analogous, triadic and shades

Saved Colors

How to Use the Color Picker & Converter

  1. Pick a Color: Click the large color wheel to open your system's native color picker. Select any color visually — the preview and all format fields update in real-time.
  2. Enter HEX Manually: Type a hex code (e.g., #FF5733) directly into the HEX field and press Enter. RGB, HSL, and CSS variable outputs update automatically.
  3. Copy Any Format: Click the clipboard icon next to HEX, RGB, HSL, or CSS Variable to copy that specific notation to your clipboard instantly.
  4. Generate Palettes: Scroll down to see auto-generated color harmonies — Shades (9 lightness variations), Complementary, Analogous, Triadic, and Tetradic. Click any swatch to copy its hex value.
  5. Save Colors: Click "Save Current" to bookmark colors for later. Saved colors persist across sessions via localStorage.

Technical Overview & Use Cases

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:

Privacy & Security Guarantee

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.

Frequently Asked Questions

What is the difference between RGB and HSL?

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.

What are complementary colors?

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.

Do saved colors persist after closing the browser?

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.