Skip to contents

Palettes

Get colours out of the package.

killer_pal()
Draw colours from a Queen album palette
killer_pal_fun()
Palette functions for programmatic use
killer_names()
Names of all available palettes
killer_palette_info()
Overview of every palette
killer_palettes
Queen album palette definitions

ggplot2 scales

Discrete (_d), continuous (_c) and binned (_b) scales, for the colour and fill aesthetics.

Accessibility

Verify the colourblind- and contrast-friendly claims, on these palettes or on any colours at all.

killer_check()
Audit a palette's accessibility
killer_cvd()
Simulate how a palette looks with colour vision deficiency
killer_cvd_grid()
Plot a palette under all four vision types
killer_distance()
CIEDE2000 colour difference
killer_distance_matrix()
Pairwise CIEDE2000 distances within a palette
killer_contrast()
WCAG contrast ratio
killer_luminance()
WCAG relative luminance

Display

plot(<killer_palette>)
Plot a palette as swatches