Skip to content

palettecore 0.2.0

Choose a tag to compare

@heidihelena heidihelena released this 23 Jul 18:10
· 21 commits to main since this release
4087b73

First public release.

  • Python core (numpy only): sequential / diverging / categorical palettes from one seed colour, CIEDE2000 arc-length spacing in OKLCH, Machado (2009) CVD simulation at severity 1.0, greyscale / gamut / WCAG diagnostics, warnings for every unmet threshold. 71 tests including a pathological-seed battery.
  • R package (r/palettecore): mirrors the Python reference; validated against shared parity fixtures (numeric within 1e-6, palette HEX codes exact on all 9 specs). Ships scale_colour_accessible() / scale_fill_accessible() for ggplot2. R CMD check --as-cran clean.
  • CLI: python3 -m palettecore "#8B6FC9" --format json — the agent-friendly entry point.
  • Deterministic by construction; thresholds are configurable design rules, not established accessibility cut-offs.