Learn R Programming

ggiraphExtra (version 0.3.0)

palette2colors: Extract colors from a palette

Description

Extract colors from a palette

Usage

palette2colors(name, reverse = FALSE)

Arguments

name

A palette name from the RColorBrewer package

reverse

if true, reverse colors