build_palette: Generate a palette of related colors around a central color

View source: R/color.R

build_paletteR Documentation

Generate a palette of related colors around a central color

Description

Generate a palette of related colors around a central color

Usage

build_palette(central_color)

Arguments

central_color

a single color value around which to build the palette

Value

a list of palette results, containing:

  • palette: a character vector with a 10-color palette realted to the central_color.

  • palette_plot: a ggplot2 object showing the 10 colors in palette.

  • colorset: A character vector with the full set of 100 colors from which the palette was selected.

  • colorset_plot: A ggplot2 object displaying all 100 colors in the colorset.

  • weave: a ggplot2 object generated with weave_plot() showing the intersection of all of the collors in the palette.


AllenInstitute/scrattch documentation built on March 6, 2025, 2:09 a.m.