-
Notifications
You must be signed in to change notification settings - Fork 35
Releases: Evercoder/culori
Releases · Evercoder/culori
v0.15.0
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
Assets 2
v0.14.0
v0.13.2
- 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.
Assets 2
v0.13.1
Implements filterHueRotate.
Assets 2
v0.13.0
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.
Assets 2
v0.12.1
Added sideEffects: false in package.json. Please open an issue if that causes any problem with your setup.
Assets 2
v0.12.0
Implemented more hue fixup methods (#93):
- add
fixupHueShorter(),fixupHueLonger(),fixupHueIncreasing(),fixupHueDecreasing()methods; - alias
interpolateHue()tofixupHue()— the former will probably be removed from the API at some point - add
fixupAlpha()method, slightly different than the oldinterpolateAlpha(); - alias
interpolateAlpha()tofixupAlpha()— the former will probably be removed from the API at some point
New methods:
formatHex8()mapper()mapAlphaMultiply()mapAlphaDivide()interpolateWith(premap, postmap)interpolateWithPremultipliedAlpha()
Assets 2
v0.11.2
v0.11.0
Features
- Implemented
deficiencyProt(),deficiencyDeuter()anddeficiencyTrit()functions to simulate color vision deficiencies (CVD); (#54)
Breaking changes
- Removed the
gray()shorthand for Lab colors, to match the latest version ofcss-color-4;
Deprecations
A couple of umbrella functions have been split into individual functions:
- Instead of
formatter(), useformatterHexandformatterRgbdirectly; - likewise, instead of
clamp(), useclampRgbandclampChroma.