get_color_hex: Manipulate colors

Description Usage Arguments Details Value

View source: R/colors.R

Description

Convert a color name to a hex value.

Convert a color name to its inverse hex value.

Usage

1
2
3
get_color_hex(color, named = FALSE)

get_color_hex_inverse(color, named = FALSE, both = FALSE)

Arguments

color

character. Name of color.

named

logical. Whether to retun a named value.

both

logical. Whehter to return the input color as well.

Details

None.

None.

Value

character. Hex value.

character(s). Hex value(s). Possibly named.


aelhabr/teutils documentation built on May 7, 2019, 7:59 a.m.