build_colors: Display available brick colors

Description Usage Arguments Details Value See Also Examples

View source: R/colors-and-themes.R

Description

Generates a plot of available brick colors. These names must be used exactly when creating custom name lists. There are 41 solid brick color names and 13 transparent colors. Transparent colors are not used in mosaics.

Usage

1
build_colors(.names_only = FALSE, include_transparent = TRUE)

Arguments

.names_only

Return an array of the 41 solid brick color names and 13 transparent colors. Does not plot.

include_transparent

Include transparent colors in the plot output.

Details

Use .names_only = TRUE to get a list of color names.

Value

An array or ggplot of brick colors & ID numbers.

See Also

Other Resources: build_instructions(), build_pieces_table(), build_pieces()

Examples

1
2
3
4
5
#Generate plot of colors
build_colors(include_transparent = FALSE)

#Print list of colors
build_colors(TRUE)

brickr documentation built on Aug. 3, 2020, 1:07 a.m.