Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Component for converting an RGB colour to HSL

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 History.md
Octocat-spinner-32 Makefile
Octocat-spinner-32 Readme.md
Octocat-spinner-32 component.json
Octocat-spinner-32 index.js
Octocat-spinner-32 package.json
Readme.md

rgb-to-hsl

Convert an RGB colour to HSL

Installation

$ component install carlmw/rgb-to-hsl

API

require('rgb-to-hsl')(255,150,0); // [35.294117647058826, -1.007905138339921, 127.5]

License

MIT

Something went wrong with that request. Please try again.