@anzerr/color.util
TypeScript icon, indicating that this package has built-in type declarations

1.0.13 • Public • Published

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]

Package Sidebar

Install

npm i @anzerr/color.util

Weekly Downloads

87

Version

1.0.13

License

MIT

Unpacked Size

6.79 kB

Total Files

9

Last publish

Collaborators

  • anzerr