nicalaia / huez

Automatic UI Color Palette Generator

Home Page:https://huez.ciobanunicolae.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Automatic UI Color Palette Generator

https://huez.ciobanunicolae.com

License:MIT License


Languages

Language:TypeScript 77.9%Language:SCSS 16.4%Language:CSS 3.0%Language:JavaScript 2.8%