dreamyguy / validate-color

✅🌈🙌 Validate HTML colors by 'name', 'special name', 'hex', 'rgb', 'rgba', 'hsl', 'hsla', 'hwb' or 'lab' values
https://www.npmjs.com/package/validate-color
MIT License
53 stars 6 forks source link

Option for angle parameter in HSL should be 'grad' #23

Closed maxdavid closed 1 year ago

maxdavid commented 2 years ago

In the validation for HSL colors, the angle parameter takes 'grad' units not 'gra'