Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

color

Package Overview
Dependencies
Maintainers
3
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

color - npm Package Compare versions

Comparing version 1.0.3 to 2.0.0

4

index.js

@@ -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 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc