View source: R/create_palette.R
create_palette | R Documentation |
create palette for colorpile
create_palette(name, authors, colors, type, github_user = NULL, description = NULL, keywords = NULL, date = Sys.Date())
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.