Automatic UI Color Palette Generator
Switch branches/tags
Nothing to show
Clone or download
Latest commit bee142c Feb 11, 2018


Automatic UI Color Palette Generator

npm i palx

Provide a single color value and Palx returns a full-spectrum color palette, well suited for UI design and data visualizations that work harmoniously with brand colors.

const palx = require('palx')

// Returns a color object with
// 12 hues and a gray spread across
// 10 luminance steps


Inspired by Open Color, Palx takes a single input color, then spreads the hue across the color spectrum in 12 steps, and spreads each hue across 10 luminance steps. Palx also desaturates the main color to create shades of gray and a black that are based off the original color.


MIT License