10000 GitHub - anzerr/color.util at v1.0.6
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

anzerr/color.util

< 8000 span class="TextInput-icon" id=":R2j5ab:" aria-hidden="true">

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro

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
0