This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
is-hsl-color with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Loosely check whether a string is an HSL(A) color string.
$ component install segmentio/is-hsl-color
$ npm install is-hsl-color
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.