colour_plot: Plot colours

colour_plotR Documentation

Plot colours

Description

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

Usage

colour_plot(x)

## S3 method for class 'character'
colour_plot(x)

## S3 method for class 'ggthemr'
colour_plot(x)

## S3 method for class 'ggthemr_palette'
colour_plot(x)

## S3 method for class 'ggthemr_swatch'
colour_plot(x)

Arguments

x

Character vector of colours or ggthemr palette object.

Author(s)

Ciaran Tobin

Examples

 
colour_plot(c('#14B294', 'coral'))
colour_plot(ggthemr('sea'))

cttobin/ggthemr documentation built on April 19, 2022, 3:31 a.m.