All Projects β†’ colorjs β†’ Color Space

colorjs / Color Space

Licence: unlicense
Math & data behind color spaces and color conversions.

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Color Space

React Native Color
Color components for React Native 🌈
Stars: ✭ 178 (-23.28%)
Mutual labels:  color
Efcolorpicker
A lightweight color picker in Swift.
Stars: ✭ 205 (-11.64%)
Mutual labels:  color
Dynamic Support
A complete library to build Android apps with a built-in theme engine.
Stars: ✭ 218 (-6.03%)
Mutual labels:  color
React Colorpickr
A themeable colorpicker with HSL and RGB support for React
Stars: ✭ 180 (-22.41%)
Mutual labels:  color
Nord Terminal App
An arctic, north-bluish clean and elegant Terminal.app color theme.
Stars: ✭ 198 (-14.66%)
Mutual labels:  color
Colors.lol
🎨 Overly descriptive color palettes
Stars: ✭ 207 (-10.78%)
Mutual labels:  color
Color
A little library to deal with color conversions
Stars: ✭ 166 (-28.45%)
Mutual labels:  color
Dynamiccolor
Yet another extension to manipulate colors easily in Swift and SwiftUI
Stars: ✭ 2,677 (+1053.88%)
Mutual labels:  color
Flutter statusbarcolor
A package can help you to change your flutter app's statusbar's color or navigationbar's color programmatically.
Stars: ✭ 203 (-12.5%)
Mutual labels:  color
Rainbow
🌈 Colorize commands output or STDIN using patterns.
Stars: ✭ 217 (-6.47%)
Mutual labels:  color
Color Picker
A simple color picker application written in pure JavaScript, for modern browsers.
Stars: ✭ 180 (-22.41%)
Mutual labels:  color
Prettyprint
Beautifully formatted output for your terminal 🌈
Stars: ✭ 195 (-15.95%)
Mutual labels:  color
Contrast Swatch
πŸ…°οΈ Image microservice for color contrast information
Stars: ✭ 210 (-9.48%)
Mutual labels:  color
Jsome
✨ Make your JSON look AWESOME
Stars: ✭ 179 (-22.84%)
Mutual labels:  color
Androidphotoshopcolorpicker
A fully featured Color picker Library for Android
Stars: ✭ 220 (-5.17%)
Mutual labels:  color
Maven Color
A colorized Maven console
Stars: ✭ 177 (-23.71%)
Mutual labels:  color
Uigradient
A simple and powerful library for using gradient layer, image, color
Stars: ✭ 208 (-10.34%)
Mutual labels:  color
Sketch
Sketch have a lot of basic functions to develop a drawing app for iPhone. Anyone can easily create drawing iOS Application.
Stars: ✭ 229 (-1.29%)
Mutual labels:  color
Php Console Spinner
Colorful highly configurable spinner for php cli applications (suitable for async apps)
Stars: ✭ 225 (-3.02%)
Mutual labels:  color
Xcolor
Lightweight color picker for X11
Stars: ✭ 209 (-9.91%)
Mutual labels:  color

Color-space Build Status stable OpenCollective OpenCollective

Conversions and data for color spaces. Demo.

Usage

npm install color-space

var space = require('color-space');

//convert lab to lch
var result = space.lab.lch([80,50,60]);

You can require a separate space to reduce size significantly:

var rgb = require('color-space/rgb');
var hsl = require('color-space/hsl');

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

API

<fromSpace>.<toSpace>(array);
<space>.name //space name
<space>.min //channel minimums
<space>.max //channel maximums
<space>.channel //channel names
<space>.alias //alias space names

Spaces

Contribute

Please fork, add color space with basic conversions to/from XYZ or RGB and tests. The goal of project is to provide the most complete set of color spaces with maximally minimal uniform API.

Credits

Thanks to all the color scientists, who devoted their lives to color research and delivered their knowledge to us, for now we can trust them and use their formulas and their code.

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]

Related

  • colormap β€” collection of colormaps to map colors of images/data. A replacement for visualising spaces like cubehelix.
  • color-spectrum β€” convert spectrum to a color.
  • color-interpolate β€” interpolate between color values.
  • color-tool β€” color picker based on color-space.

Similar projects

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].