colour_plot: Plot colours

Description Usage Arguments Author(s) Examples

View source: R/colour_plot.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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

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

cttobin/ggthemr documentation built on April 18, 2018, 11:36 p.m.