getColor2: GetColorChart based on character

Description Usage Arguments Value Examples

View source: R/getColor2.R

Description

GetColorChart based on character

Usage

1
getColor2(text, colorFormat = "rgb")

Arguments

text

a text used to pick the color

colorFormat

the format color should be output. Current options are rgb and hex.

Value

a rgba color string

Examples

1
getColor2("colombia", "hex")

jwist/visualizeR documentation built on Dec. 1, 2019, 5:11 p.m.