14 packages found

Pure functions for color conversion and parsing

published 1.3.0 6 years ago
M
Q
P

colorParsley() • a lightweight yet versatile color parsing function with no dependencies. Takes various color strings, numbers, or objects, and turns them into simple arrays. Bonus utilities colorToHex() and colorToRGB() included

published 0.1.8 10 months ago
M
Q
P

See Stars • a lightweight set of utilities to take an sRGB or displayP3 color, and extract the CIE Y relative luminance, and then convert to CIE L* (perceptual lightness). Takes RGB colors as simple arrays (as created with colorParsley). Bonus utilities t

published 0.0.1 8 months ago
M
Q
P

css color parsing, manupulation and conversion

published 0.3.2 3 months ago
M
Q
P

Parsing, conversion and manipulation of RGBA, CSS and HSV colours, as well as vectors

published 2.2.0 3 years ago
M
Q
P

A package for parsing, converting and editing colors

published 1.0.7 5 months ago
M
Q
P

Array-based color types, CSS parsing, conversions, transformations, declarative theme generation, gradients, presets

published 5.4.6 a day ago
M
Q
P

Gnjo JS is a Pure TypeScript library that provides utility functions for parsing, tokenizing, and evaluating color strings and converting them to JavaScript object representations of color spaces. It also allows for conversion between color spaces, obtain

published 1.1.6 17 days ago
M
Q
P

A library for parsing colors within the sRGB color space. it includes rgb(a), hsl(a), hsv(a), hex and cmyk. It mainly focuses on web standards, which is why it has build in css support. However, it may be used in any application that follows the css color

published 0.9.4 a year ago
M
Q
P

CSS color values parsing and serialization plugin for Paint Bucket.

published 1.1.0 a year ago
M
Q
P

X11 color name parsing plugin for Paint Bucket.

published 1.1.0 a year ago
M
Q
P

Parse, convert and interpolate colors and create colormaps.

published 1.2.0 4 years ago
M
Q
P

An ES2019+ color class that simplifies color parsing and conversion. Implements most common color functions.

published 1.0.0 3 years ago
M
Q
P

An adaptation of `parse-color` that returns color values as objects, instead of arrays.

published 0.1.0 3 years ago
M
Q
P