color icon indicating copy to clipboard operation
color copied to clipboard

:rainbow: Javascript color conversion and manipulation library

Results 13 color issues
Sort by recently updated
recently updated
newest added

As discussed in #184 (https://github.com/Qix-/color/issues/184#issuecomment-942754062) @Qix- mentioned releasing an esm version in the next release. Since there's no active Issue for this, I felt it appropriate to create one for...

I am not sure if if I should be opening the issue here or on the @types project, but it would appear the latest version of @types/color only goes up...

Unable to parse `rgba(0 0 0 26%)` color where it is a valid color and should be parsed. When passed the same color value including it comma or alpha value...

# How to reproduce: 1. Open [Sandbox](https://codesandbox.io/s/invalid-color-wg220?file=/src/index.js) 2. Check the console output # Current behavior * For invalid rgb input (E.g. "rgb(277,0,0)"), r is rounded to the nearest valid value...

pr welcome
BREAKING

Hey, in LESS and SASS the darken nand lighten function increase by an absolute amount. Example here: https://github.com/less/less.js/blob/fb5280f16f124e5062634a22be2f3c99e650d0a4/lib/less/functions/color.js#L163 This is a bit confusing because in `color.js` e.g. `color('#000000').lighten(1)' is still...

bug
pr welcome
help wanted

The docs give examples of various forms of `Color.rgb()` with 3 arguments, but never give an example of specifying an alpha value in the constructor. They do give the example...

pr welcome
documentation
help wanted

When for example the alpha is set to 1 in an RGBA object return, the ``alpha``/``a`` variable disappears. I know this is a part of the design of the library...

bug
pr welcome
BREAKING

Certain colors (I've only seen this in HSL so far) don't round correctly when calling `string()`. For example: ``` var Color = require('color'); var pink = Color('#FF08C2'); console.log(pink.hsl().string()); // 'hsl(314.79999999999995,...

These manipulators for those, who will making dark and light themes, without color changes itself (doesn't change hue and chroma value). It useful for invert light into dark themes, and...

Methods for two color models: gradientRGB and gradientHSL. The gradientHSL supports clokwise and counterclokwise hue rotations.