Skip to content

anzerr/color.util

Repository files navigation

Intro

GitHub Actions status | publish

Color transformation util between HSL, HSV, HUE and RGB

alt text

Install

npm install --save git+https://github.com/anzerr/color.util.git
npm install --save @anzerr/color.util

Example

const {rgb, hsl} = require('color.util');

let a = rgb(255, 0, 0).totoHsv();
console.log(a); // ?
let b = hsl(...a).toRgb();
console.log(b); // [255, 0, 0]

About

Color transformation util between HSL, HSV, HUE and RGB

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published