create_palette: Create palette for colorpile

View source: R/create_palette.R

create_paletteR Documentation

Create palette for colorpile

Description

create palette for colorpile

Usage

create_palette(name, authors, colors, type, github_user = NULL,
  description = NULL, keywords = NULL, date = Sys.Date())

Arguments

name

The short name of the colour scheme

authors

vector of name(s) of palette author(s)

colors

Vector of colors, each in hex format

type

One of 'diverging', 'qualitative', 'sequential', 'other'

github_user

The GitHub username of the palette's author (or primary author if there is more than one name in authors)

description

A description, possibly longer than the name

keywords

Vector of palette keywords

date

Date scheme was created or modified


ropenscilabs/colorpiler documentation built on May 18, 2022, 7:35 p.m.