Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nicolaeciobanuu/huez

Automatic UI Color Palette Generator
https://github.com/nicolaeciobanuu/huez

app-router app-router-nextjs brand chromajs color css css-modules css3 hex hsl javascript nextjs npmjs palette reactjs rgb sass scss scss-modules typescript

Last synced: 4 days ago
JSON representation

Automatic UI Color Palette Generator

Awesome Lists containing this project

README

        

## Huez

Automatic UI Color Palette Generator from a Base Color

[huez](https://huez.ciobanunicolae.com)

## Installation

```
npm install huez
```

## Usage

```jsx
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

- [x] 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](/CONTIBUTING.md)

## License

[MIT](https://github.com/ciobanunicolae/huez/blob/master/LICENSE)