Comparing version 1.0.3 to 2.0.0
@@ -369,4 +369,4 @@ 'use strict'; | ||
// https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209 | ||
var color1 = this.rgb(); | ||
var color2 = mixinColor.rgb(); | ||
var color1 = mixinColor.rgb(); | ||
var color2 = this.rgb(); | ||
var p = weight === undefined ? 0.5 : weight; | ||
@@ -373,0 +373,0 @@ |
{ | ||
"name": "color", | ||
"version": "1.0.3", | ||
"version": "2.0.0", | ||
"description": "Color conversion and manipulation with CSS string support", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -51,2 +51,7 @@ # color [![Build Status](https://travis-ci.org/Qix-/color.svg?branch=master)](https://travis-ci.org/Qix-/color) | ||
```js | ||
color.rgbNumber() // 16777215 (0xffffff) | ||
``` | ||
Get the rgb number value. | ||
```js | ||
color.red() // 255 | ||
@@ -53,0 +58,0 @@ ``` |
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
16020
113