Changelog
Source:NEWS.md
prismatic 1.1.2
CRAN release: 2024-04-10
color()
now maintains the names of the input vector, allowingplot()
to use the color names rather than the hex values whenlabel = TRUE
. You can also providelabel
with a custom set of color labels. Unnamed colors are labelled with their hex values (@gadenbuie, #27).Printing color objects is now powered by cli, which has superseded crayon (jack-davison, #28).
prismatic 1.1.0
CRAN release: 2021-10-17
- Add extraction functions.
-
best_contrast()
has been added, and can be used to find the best contrasted colors.
prismatic 1.0.0
CRAN release: 2021-01-05
- All functions now accepts zero length input.
- Added
contrast_ratio()
function to calculate contrast ratios between colors. (#18) - Added
modify_hcl()
function to modify individual HCL axes. (#20)
Breaking changes
-
clr_rotate()
now uses HCL instead of HSL as its color space for rotation. (#19) -
clr_lightness()
andclr_darken()
now uses HCL instead of HSL as its default color space. (#19)
prismatic 0.2.0
CRAN release: 2019-12-01
- Added
clr_alpha()
function to specify transparency. (#9) - Added
labels
argument toplot.colors()
to show hexcode in plot. (#8) -
clr_rotate()
’s argumentdegrees
now default to 0. -
clr_mix()
’s argumentratio
now correctly takes varied lengths as the argument. - added
check_color_blindness()
to allow quick visual color deficiency examination. (#11)