define_swatch: Create a ggthemr_swatch object

Description Usage Arguments Value

View source: R/define_swatch.R

Description

Given a vectors of colors, checks will be carried out to make sure colours are not duplicated and are valid. See define_palette for more details.

Usage

1
2
3

Arguments

x

Vector of colours

Value

Object of type ggthemr_swatch


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