Releases: Evercoder/culori
Releases · Evercoder/culori
v0.14.0
v0.13.2
v0.13.1
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
.
v0.12.1
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()
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()
, useformatterHex
andformatterRgb
directly; - likewise, instead of
clamp()
, useclampRgb
andclampChroma
.
culori 0.10.2
v0.10.0
Added a few easing functions: