Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: Evercoder/culori

v0.15.0

16 Aug 21:42
@danburzo danburzo

Choose a tag to compare

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
Loading

v0.14.0

12 Aug 14:21
@danburzo danburzo

Choose a tag to compare

Implements the average(colors, mode) function (#78)

Loading

v0.13.2

11 Aug 18:27
@danburzo danburzo

Choose a tag to compare

  • 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.
Loading

v0.13.1

11 Aug 18:23
@danburzo danburzo

Choose a tag to compare

Implements filterHueRotate.

Loading

v0.13.0

09 Aug 14:52
@danburzo danburzo

Choose a tag to compare

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.

Loading

v0.12.1

15 Jul 14:26
@danburzo danburzo

Choose a tag to compare

Added sideEffects: false in package.json. Please open an issue if that causes any problem with your setup.

Loading

v0.12.0

15 Jul 13:46
@danburzo danburzo

Choose a tag to compare

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()
Loading

v0.11.2

03 Jul 16:44
@danburzo danburzo

Choose a tag to compare

Fixes bug in interpolateSplineMonotone() to make it actually monotone (see #91, thanks @Fil!)

Loading

v0.11.0

01 Jul 20:28
@danburzo danburzo

Choose a tag to compare

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.
Loading

culori 0.10.2

26 Jun 16:19
@danburzo danburzo

Choose a tag to compare

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!

Loading

AltStyle によって変換されたページ (->オリジナル) /