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

color-space

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

color-space - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

package.json
{
"name": "color-space",
"description": "Math & data behind color spaces and color conversions.",
"version": "0.3.0",
"version": "0.3.1",
"author": "Deema Ywanow <dfcreative@gmail.com>",

@@ -6,0 +6,0 @@ "repository": {

@@ -22,3 +22,3 @@ # color-space [![Build Status](https://travis-ci.org/dfcreative/color-space.svg?branch=master)](https://travis-ci.org/dfcreative/color-space)

To include one target space:
If you aware of size, you can include only needed spaces:

@@ -29,4 +29,4 @@ ```js

//convert rgb to lch
hsl.lch([200,230,100]);
//convert rgb to hsl
rgb.hsl([200,230,100]);
```

@@ -65,6 +65,7 @@

* cmyk
* xyz (ciexyz)
* lab (cielab)
* luv (cieluv)
* lch (cielch)
* xyz ([CIE XYZ](http://en.wikipedia.org/wiki/CIE_1931_color_space))
* lab ([CIE Lab](http://en.wikipedia.org/wiki/Lab_color_space))
* lch (CIE LCHab&thinsp;—&thinsp;cylindrical LAB)
* luv ([CIE Luv](http://en.wikipedia.org/wiki/CIELUV))
* lchuv ([CIE LCHuv](http://en.wikipedia.org/wiki/CIELUV#Cylindrical_representation))

@@ -78,3 +79,3 @@

Please fork, add space/convertions. If you add a space, make sure you have implemented at least to/from _XYZ_ or to/from _RGB_ conversions. Don’t forget to add a test-case.
Please fork, add color spaces/convertions. If you add a new space, make sure you have implemented at least to/from _XYZ_ or to/from _RGB_ conversion functions. Don’t forget to add a test-case.

@@ -81,0 +82,0 @@ This is meant to be a basic library that can be used by other libraries to wrap color calculations in some cool way.

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