Releases: Evercoder/culori
Releases · Evercoder/culori
v0.15.0
16 Aug 21:42
Compare
Sorry, something went wrong.
No results found
This release adds several new color spaces:
A98, compatible with Adobe RGB (1998): a98
Display P3: p3
Rec. 2020: rec2020
ProPhoto RGB: prophoto
XYZ with D65 illuminant: xyz65
JzAzBz in cartesian (jab) and polar (jch) form (#73 )
Bug fixes:
Fixes achromatic RGB to Lab conversion
v0.14.0
12 Aug 14:21
Compare
Sorry, something went wrong.
No results found
Implements the average(colors, mode) function (#78 )
v0.13.2
11 Aug 18:27
Compare
Sorry, something went wrong.
No results found
Make color deficiency filter functions use names consistent with other filters: filterDeficiencyProt, filterDeficiencyDeuter, filterDeficiencyTrit.
All filters now return values in the color space of the original color passed to them.
v0.13.1
11 Aug 18:23
Compare
Sorry, something went wrong.
No results found
Implements filterHueRotate.
v0.13.0
09 Aug 14:52
Compare
Sorry, something went wrong.
No results found
Adds the following filter functions, as per the Filter Effects Module Level 1 spec: filterBrightness, filterContrast, filterInvert, filterSepia, filterSaturate, filterGrayscale. Adds mapping functions mapTransferLinear and mapTransferGamma.
v0.12.1
15 Jul 14:26
Compare
Sorry, something went wrong.
No results found
Added sideEffects: false in package.json. Please open an issue if that causes any problem with your setup.
v0.12.0
15 Jul 13:46
Compare
Sorry, something went wrong.
No results found
Implemented more hue fixup methods (#93 ):
add fixupHueShorter(), fixupHueLonger(), fixupHueIncreasing(), fixupHueDecreasing() methods;
alias interpolateHue() to fixupHue() — the former will probably be removed from the API at some point
add fixupAlpha() method, slightly different than the old interpolateAlpha();
alias interpolateAlpha() to fixupAlpha() — the former will probably be removed from the API at some point
New methods:
formatHex8()
mapper()
mapAlphaMultiply()
mapAlphaDivide()
interpolateWith(premap, postmap)
interpolateWithPremultipliedAlpha()
v0.11.2
03 Jul 16:44
Compare
Sorry, something went wrong.
No results found
Fixes bug in interpolateSplineMonotone() to make it actually monotone (see #91 , thanks @Fil !)
v0.11.0
01 Jul 20:28
Compare
Sorry, something went wrong.
No results found
Features
Implemented deficiencyProt(), deficiencyDeuter() and deficiencyTrit() functions to simulate color vision deficiencies (CVD); (#54 )
Breaking changes
Removed the gray() shorthand for Lab colors, to match the latest version of css-color-4;
Deprecations
A couple of umbrella functions have been split into individual functions:
Instead of formatter(), use formatterHex and formatterRgb directly;
likewise, instead of clamp(), use clampRgb and clampChroma.
culori 0.10.2
26 Jun 16:19
Compare
Sorry, something went wrong.
No results found
Fixes lab() and lch() parsers to allow an optional percentage in the L channel, as per changes in the css-colors-4 spec #85 ; thanks @rozaxe !