Learn R Programming

ggthemr (version 1.1.0)

colour_plot: Plot colours

Description

Display a chart of colours from a vector of colours or ggthemr object.

Usage

colour_plot(x)

# S3 method for character colour_plot(x)

# S3 method for ggthemr colour_plot(x)

# S3 method for ggthemr_palette colour_plot(x)

# S3 method for ggthemr_swatch colour_plot(x)

Arguments

x

Character vector of colours or ggthemr palette object.

Examples

Run this code
# NOT RUN {
 
colour_plot(c('#14B294', 'coral'))
colour_plot(ggthemr('sea'))
# }

Run the code above in your browser using DataLab