Skip to content

nicalaia/huez

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huez

Automatic UI Color Palette Generator from a Base Color

huez

Installation

npm install huez

Usage

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);
}

To do

  • Add contibuting guide
  • Set up workflows
  • Change output to formatted string ( hsl(30, 50%, 75%) instead of [30,50,75] )
  • Create documentation

Contributing

Please read the contributing guide

License

MIT