Learn R Programming

brickr (version 0.3.5)

build_colors: Display available brick colors

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

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.

Value

An array or ggplot of brick colors & ID numbers.

Details

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

See Also

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

Examples

Run this code
# NOT RUN {
#Generate plot of colors
build_colors(include_transparent = FALSE)

#Print list of colors
build_colors(TRUE)
# }

Run the code above in your browser using DataLab