Skip to content

c3 2.0.1

Latest

Choose a tag to compare

@danieledler danieledler released this 20 Oct 17:12
· 9 commits to main since this release
ef88556

c3 2.0.1 retunes two tones and is the first release of the Python package, c3-colors.

Tones

  • strong, the default: lightness 0.58–0.76 and chroma 0.11–0.17 (was 0.55–0.76 and 0.08–0.17). Colors differ less in lightness and chroma, so none stands out, and the tone still fits about 32 colors 0.04 apart.
  • deep: chroma 0.13–0.20 (was 0.10–0.17) at the same lightness, so it is as colorful as vivid, but darker.

Palettes and hierarchies in these tones get new colors. To keep the 2.0.0 colors, pass the old ranges, like tone: { lightness: [0.55, 0.76], chroma: [0.08, 0.17] }.

Python

  • c3-colors on PyPI: pip install c3-colors, imported as c3. It has the same API as the JavaScript package and gives the same colors, checked against shared fixtures. It has no dependencies.

Docs