Generate and customize stunning color palettes instantly. Explore harmony rules, preview designs, and spark creativity with our easy online tool.
Jump in—creating a professional color scheme is easier than you think.
The Color Palette Randomizer is an advanced tool that generates unique, aesthetically harmonious color schemes using mathematical models from color theory. It helps designers, developers, and artists stay inspired and create consistent visual themes.
Each color is expressed in HSL format:
Hue (H) ∈ [0°, 360°]
Saturation (S) ∈ [0, 1]
Lightness (L) ∈ [0, 1]
Harmony rules are calculated as follows:
Complementary: H₂ = (H₁ + 180°) mod 360°
Analogous: H₂ = (H₁ ± 30°) mod 360°
Triadic: H₂ = (H₁ + 120°) mod 360°, H₃ = (H₁ - 120°) mod 360°
Each generated palette is evaluated for color contrast and visibility under different vision conditions. The contrast ratio is calculated with:
Contrast Ratio = (L₁ + 0.05) / (L₂ + 0.05)
L = 0.2126×R + 0.7152×G + 0.0722×B
Any pair with a contrast ratio below 4.5:1 is flagged for adjustment.
Get started now and bring your next design to life with a perfect palette.
Color Scheme | Hue Calculation | Example (Base: 210°) |
---|---|---|
Monochromatic | H ± 0°, varied S/L | 210°, 210° (light/dark) |
Complementary | H₂ = (H + 180°) % 360° | 210°, 30° |
Analogous | H₂ = (H ± 30°) % 360° | 180°, 210°, 240° |
Triadic | H₂ = (H ± 120°) % 360° | 90°, 210°, 330° |
Split-Complementary | H₂ = (H ± 150°) % 360° | 60°, 210°, 0° |
Hue Wrapping | H = (H + x) % 360° | 350° + 30° → 20° |