palette2colors {interpretCI}R Documentation

Extract hexadecimal colors from a color palette

Description

Extract hexadecimal colors from a color palette

Usage

palette2colors(name, reverse = FALSE)

Arguments

name

The name of color palette from RColorBrewer package

reverse

Whether or not reverse the order of colors

Value

hexadecimal colors

Examples

palette2colors("Reds")

[Package interpretCI version 0.1.1 Index]