color-string
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "color-string", | ||
"description": "Parser and generator for CSS color strings", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"author": "Heather Arthur <fayearthur@gmail.com>", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
@@ -20,2 +20,6 @@ # color-string | ||
```js | ||
colorString.get('#FFF') // {model: 'rgb', value: [255, 255, 255, 1]} | ||
colorString.get('hsl(360, 100%, 50%)') // {model: 'hsl', value: [0, 100, 50, 1]} | ||
colorString.get('hwb(60, 3%, 60%)') // {model: 'hwb', value: [60, 3, 60, 1]} | ||
colorString.get.rgb('#FFF') // [255, 255, 255, 1] | ||
@@ -22,0 +26,0 @@ colorString.get.rgb('blue') // [0, 0, 255, 1] |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9069
53