npm

Bring the best of OSS JavaScript development to your projects with npm Orgs - private packages & team management tools.Learn more »

is-hsl-color

0.0.1 • Public • Published

is-hsl-color

Loosely check whether a string is an HSL(A) color string.

Installation

$ component install segmentio/is-hsl-color
$ npm install is-hsl-color

API

isHslColor(string)

Loosely checks whether a string is an HSL(A) color string. Loose in that it doesn't cap percentages to 100%, which CSS doesn't care about either.

License

MIT

install

npm i is-hsl-color

Downloadsweekly downloads

23

version

0.0.1

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability