Package: palettecore 0.4.1

Heidi Helena Andersén

palettecore: Derive, Optimise and Audit a Scientific Colour Palette from One Seed Colour

Generates sequential, diverging and categorical colour palettes from a single seed colour in OKLCH (the cylindrical lightness-chroma-hue representation of the Oklab perceptual colour space), with spacing measured by the CIEDE2000 colour-difference formula of the International Commission on Illumination. Audits every palette under simulated colour-vision deficiency, greyscale conversion, the standard Red Green Blue (sRGB) gamut and Web Content Accessibility Guidelines (WCAG) contrast. Colour-vision deficiency is simulated at severity 1.0 with the model of Machado, Oliveira and Fernandes (2009) <doi:10.1109/TVCG.2009.113>; the design rationale follows Crameri, Shephard and Heron (2020) <doi:10.1038/s41467-020-19160-7>. Mirrors the 'Python' reference implementation maintained in the same repository and is validated against shared parity fixtures. Thresholds are configurable design rules, not established accessibility cut-offs.

Authors:Heidi Helena Andersén [aut, cre]

palettecore_0.4.1.tar.gz
palettecore_0.4.1.zip(r-4.7-any)palettecore_0.4.1.zip(r-4.6-any)palettecore_0.4.1.zip(r-4.5-any)
palettecore_0.4.1.tgz(r-4.6-any)palettecore_0.4.1.tgz(r-4.5-any)
palettecore_0.4.1.tar.gz(r-4.7-any)palettecore_0.4.1.tar.gz(r-4.6-any)
palettecore_0.4.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
palettecore/json (API)

# Install 'palettecore' in R:
install.packages('palettecore', repos = c('https://heidihelena.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/heidihelena/palettecore/issues

On CRAN:

Conda:

accessibilityciede2000colorcolorblinddata-visualizationoklchpalettepython

2.00 score 1 stars 3 scripts 188 downloads 13 exports 0 dependencies

Last updated from:e88898ef89. Checks:9 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-develOK93
source / vignettesOK137
linux-releaseOK90
macos-releaseOK166
macos-oldrelOK161
windows-develOK63
windows-releaseOK66
windows-oldrelOK78
wasm-releaseOK76

Exports:ciede2000contrast_ratiogenerate_palettehex_to_oklchhex_to_srgbmax_chromaoklch_to_hexout_of_gamut_excursionscale_color_accessiblescale_colour_accessiblescale_fill_accessiblesimulate_cvdsrgb_to_hex

Dependencies: