Understanding Color Harmonies
Color harmony is the practice of combining colors using geometric relationships on the color wheel. Each harmony type produces a different visual effect. This tool uses the HSL color model (hue, saturation, lightness) to calculate palette colors from your base hue.
Harmony Types
- Complementary: Colors opposite on the color wheel (180 apart). Produces high contrast and a vibrant look. Example: teal and red-pink.
- Analogous: Colors adjacent on the wheel (within 30 of each other). Produces a harmonious, soothing feel. Example: teal, cyan, and green.
- Triadic: Three colors equally spaced at 120 intervals. Balanced and colorful. Example: teal, orange, and purple.
- Split-Complementary: Base color plus the two colors flanking its complement (150 and 210). Strong contrast with less tension than complementary.
- Monochromatic: One hue at different lightness and saturation levels. Cohesive, elegant, and easy to get right.
Worked Examples
1. Complementary scheme from teal.
Base: #00d4aa (hue 168). Complement: 168 + 180 = 348 -> #d4002a. The palette adds light and dark variants of both. Use the teal as background, the red-pink as accent for buttons or alerts.
2. Analogous scheme for a calming dashboard.
Base: #3b82f6 (blue, hue 217). Neighbors at 187, 202, 232, 247 produce a range of blue-cyan-indigo tones. Apply the lightest as background, medium as panel borders, darkest as headings.
3. Triadic scheme for an illustration.
Base: #f59e0b (amber, hue 38). Triadic partners at 158 and 278 give a teal-green and a purple. Use amber as dominant fill, teal for secondary elements, purple for highlights.
The 60-30-10 Rule
A widely used guideline for applying a palette: use the dominant color for 60% of the design (background, large areas), the secondary color for 30% (panels, cards, navigation), and the accent for 10% (buttons, links, icons). This creates visual hierarchy without overwhelming the viewer.
Hex, RGB, and HSL Explained
Hex is a compact notation: #RRGGBB where each pair is a value from 00 to FF. RGB specifies red, green, blue channels from 0 to 255. HSL specifies hue (0-360), saturation (0-100%), and lightness (0-100%). HSL is often easier to reason about because you can shift the hue to get a new color while keeping saturation and lightness constant -- which is exactly how this tool calculates harmony palettes.
Frequently Asked Questions
Privacy
All color calculations run locally in your browser using JavaScript. No colors, palettes, or preferences are sent to a server. Nothing is stored or logged. There is no account, no tracking, and no cookies. Refreshing the page resets the tool to its default state.
Related Tools
- JSON Path Finder -- Paste JSON and click any value to get its JSONPath and dot notation path
- Regex Tester -- Test regular expressions and see matches
- Glassmorphism Generator -- Create frosted glass CSS effects with backdrop blur and live preview
- Log Retention Calculator -- Calculate storage needs for log retention policies with compression estimates
Related Tools
View all toolsBig-O Notation Visualizer
Interactive plot of O(1) through O(n!) complexity curves with operation count comparison
JSON Formatter
Format and beautify JSON with proper indentation
JSON Validator
Validate JSON syntax and show errors
CSV to JSON Converter
Convert CSV data to JSON format with auto-detection
JSON to CSV Converter
Convert JSON arrays to CSV format with nested object handling
JWT Decoder
Decode JWT tokens and display header and payload