is-hsl-color
v0.0.1
Published
Loosely check whether a string is an HSL(A) color string.
Readme
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-colorAPI
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
