Package Exports
- is-css-color
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-css-color) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
is-css-color
Check if a given string is css compatible color value.
Install
npm install is-css-color
Usage
var isCSSColor = require('is-css-color');
isCSSColor('#FFF'); // true
isCSSColor(rgba(255, 100, 123, 0.5)); // true
isCSSColor(hsl(25, 60%, 15%)); // true