Package: palettes 0.2.1.9000

palettes: Methods for Colour Vectors and Colour Palettes

Provides a comprehensive library for colour vectors and colour palettes using a new family of colour classes (palettes_colour and palettes_palette) that always print as hex codes with colour previews. Capabilities include: formatting, casting and coercion, extraction and updating of components, plotting, colour mixing arithmetic, and colour interpolation.

Authors:Michael McCarthy [aut, cre, cph]

palettes_0.2.1.9000.tar.gz
palettes_0.2.1.9000.zip(r-4.5)palettes_0.2.1.9000.zip(r-4.4)palettes_0.2.1.9000.zip(r-4.3)
palettes_0.2.1.9000.tgz(r-4.4-any)palettes_0.2.1.9000.tgz(r-4.3-any)
palettes_0.2.1.9000.tar.gz(r-4.5-noble)palettes_0.2.1.9000.tar.gz(r-4.4-noble)
palettes_0.2.1.9000.tgz(r-4.4-emscripten)palettes_0.2.1.9000.tgz(r-4.3-emscripten)
palettes.pdf |palettes.html
palettes/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/mccarthy-m-g/palettes/issues

Datasets:

On CRAN:

color-palettecolorscolour-palettecoloursggplot2gtpalettesvctrs

7.78 score 21 stars 1 packages 40 scripts 287 downloads 26 exports 30 dependencies

Last updated 2 months agofrom:329a872b06. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 17 2024
R-4.5-winOKNov 17 2024
R-4.5-linuxOKNov 17 2024
R-4.4-winOKNov 17 2024
R-4.4-macOKNov 17 2024
R-4.3-winOKNov 17 2024
R-4.3-macOKNov 17 2024

Exports:as_coloras_colouras_paletteas_tibbleis_coloris_colouris_palettelist_color_symbolslist_colour_symbolspal_binpal_colorpal_colourpal_factorpal_numericpal_palettepal_quantilepal_rampscale_color_palette_bscale_color_palette_cscale_color_palette_dscale_colour_palette_bscale_colour_palette_cscale_colour_palette_dscale_fill_palette_bscale_fill_palette_cscale_fill_palette_d

Dependencies:clicolorspacefansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigprismaticpurrrR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr

Compatibility with other colour packages

Rendered fromcompatibility.Rmdusingknitr::rmarkdownon Nov 17 2024.

Last update: 2022-12-01
Started: 2022-12-01

Creating a colour palette package

Rendered fromcreating-packages.Rmdusingknitr::rmarkdownon Nov 17 2024.

Last update: 2023-01-12
Started: 2022-12-06

palettes

Rendered frompalettes.Rmdusingknitr::rmarkdownon Nov 17 2024.

Last update: 2024-02-03
Started: 2022-12-01

Using palettes with biscale

Rendered frombiscale.Rmdusingknitr::rmarkdownon Nov 17 2024.

Last update: 2022-12-07
Started: 2022-12-07

Using palettes with ggplot2

Rendered fromggplot2.Rmdusingknitr::rmarkdownon Nov 17 2024.

Last update: 2022-12-07
Started: 2022-12-01

Using palettes with gt

Rendered fromgt.Rmdusingknitr::rmarkdownon Nov 17 2024.

Last update: 2024-07-13
Started: 2022-12-02

Readme and manuals

Help Manual

Help pageTopics
Cast colour vectors and colour palettes to tibblesas_tibble.palettes_colour as_tibble.palettes_palette
Cartography palettescarto_palettes discrete_palettes discrete_palettes, diverging_palettes sequential_palettes sequential_palettes,
Mix colour vectors with arithmetic operators+.palettes_colour color-mixing-arithmetic colour-mixing-arithmetic
Mix colour vectors with math functionscolor-mixing-math colour-mixing-math cumsum.palettes_colour sum.palettes_colour
Symbols to use in colour previewslist_color_symbols list_colour_symbols
Metropolitan Museum of Art palettesmet_palettes met_palettes_a11y
Nord palettesnord_palettes
Colour vectorsas_color as_colour as_colour.default as_colour.palettes_palette is_color is_colour pal_color pal_colour
Colour vector and colour palette mappingpal_bin pal_factor pal_numeric pal_quantile
Colour palettesas_palette is_palette pal_palette
Colour vector and colour palette interpolationpal_ramp pal_ramp.palettes_colour pal_ramp.palettes_palette
Package optionspalettes-options
Palmer penguins palettespenguin_palettes
Performance palettesperformance_palettes
Plot colour vectors and colour palettesplot.palettes_colour plot.palettes_palette
Pacific Northwest palettespnw_palettes
Colour scales from colour vectors and colour palettesscale_color_palette_b scale_color_palette_c scale_color_palette_d scale_colour_palette_b scale_colour_palette_c scale_colour_palette_d scale_fill_palette_b scale_fill_palette_c scale_fill_palette_d
Viridis palettesviridis_palettes