Comparing version 0.11.3 to 0.11.4
@@ -93,2 +93,11 @@ /* MIT license */ | ||
}, | ||
rgbaArrayNormalized: function () { | ||
var rgb = this.values.rgb; | ||
var glRgba = []; | ||
for (var i = 0; i < 3; i++) { | ||
glRgba[i] = rgb[i] / 255; | ||
} | ||
glRgba.push(this.values.alpha); | ||
return glRgba; | ||
}, | ||
hslaArray: function () { | ||
@@ -95,0 +104,0 @@ var hsl = this.values.hsl; |
{ | ||
"name": "color", | ||
"version": "0.11.3", | ||
"version": "0.11.4", | ||
"description": "Color conversion and manipulation with CSS string support", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
16266
403