Automatic UI Color Palette Generator from a Base Color
npm install huez
import { huez } from "huez";
const baseColor = "#0077cc";
const colorFormat = "hex"; // "hsl", "rgb", or "hex"
try {
const palette = huez(baseColor, colorFormat);
} catch (error) {
console.error(error.message);
}
- Add contibuting guide
- Set up workflows
- Change output to formatted string ( hsl(30, 50%, 75%) instead of [30,50,75] )
- Create documentation
Please read the contributing guide