Color Waves is a simple browser-based colour palette generator for creating, exploring and exporting colour palettes, gradients, light variations and coloured shadows.
Live demo: Color Waves
Color Waves includes six palette generators.
Create light and dark variations from a single base colour.
- Choose a base colour
- Generate 3–50 colours
- Create tonal scales for UI, themes and design systems
Blend between two colours using different interpolation methods.
- Choose two colours
- Generate 2–50 colours
- RGB, HSL, LAB or LCH interpolation
Create a palette that passes through three chosen colours.
- Choose three colours
- Generate 3–50 colours
- RGB, HSL, LAB or LCH interpolation
Build a more complex colour progression using five colour stops.
- Choose five colours
- Generate 5–50 colours
- RGB, HSL, LAB or LCH interpolation
Create a light-to-shadow palette with a more natural colour transition.
You can control:
- Peak light
- Light influence
- Object colour
- Peak shadow
- Light influence strength
- Shadow influence strength
- Number of colours
Light Cast uses LCH colour modelling internally.
Create coloured shadows while maintaining the character of the object's colour.
You can control:
- Peak light
- Object colour
- Shadow influence
- Peak shadow
- Shadow influence strength
- Light influence strength
- Number of colours
Shadow Cast also uses LCH colour modelling internally.
- Choose a generator.
- Select your colours.
- Adjust the number of colours.
- Choose an interpolation method when available.
- Click Generate.
- Click Randomise to quickly create a new colour combination.
Generated palettes appear as interactive colour swatches.
Click any swatch to copy its HEX value.
Each swatch displays:
- HEX
- RGB
- HSL
Every generator includes four export options:
- Copy HEX — copies the palette as a list of HEX values.
- Copy CSS — copies the colours as CSS custom properties.
- Copy JSON — copies the palette as a JSON object.
- Download — downloads the palette as a
.txtfile.
--color-1: #ff0000;
--color-2: #cc0000;
--color-3: #990000;{
"colors": [
"#ff0000",
"#cc0000",
"#990000"
]
}Downloaded files use the generator name, for example:
color-waves-mono.txt
color-waves-blend2.txt
color-waves-light.txt
The blend generators support four interpolation methods:
| Mode | Description |
|---|---|
| RGB | Direct interpolation between red, green and blue values |
| HSL | Interpolation using hue, saturation and lightness |
| LAB | Perceptual colour interpolation using CIELAB |
| LCH | Interpolation using lightness, chroma and hue |
LCH is also used internally by the Light Cast and Shadow Cast generators.
Color Waves runs entirely in the browser.
It uses:
- HTML
- CSS
- JavaScript
There is no server, database or build process required. Colour conversion, interpolation and palette generation all happen locally in your browser.
Clone the repository:
git clone https://github.com/git2358/Color-Waves.git
cd Color-WavesThen open index.html in a modern web browser.
You can also serve the directory with any simple local web server.
Color Waves is designed for modern browsers using standard HTML, CSS and JavaScript APIs.
Clipboard features depend on browser clipboard support and permissions.
Created by 2358.