hana_color_palette: Hana Color Palette

Description Usage Arguments Value Examples

View source: R/hana_color_palette.R

Description

A function to return a color palette based on hana's preferred color scheme.

Usage

1
hana_color_palette(num_colors, palette_type = 1)

Arguments

num_colors

The max number of colors needed

palette_type

An indicator for the type of palette. 1 for continuous, 2 for discrete.

Value

A List of hex color values ascribing to the hana style guide.

Examples

1
2
3
my.cont.colors<-hana_color_palette(3)

my.discrete.colors<-hana_color_palette(3,2)

gottalottasoul/RiHana documentation built on Aug. 7, 2020, 3:22 p.m.