color2hex: Convert a named color into a hexadecimal color with rgb value

Description Usage Arguments Value Examples

View source: R/ztable2flextable.R

Description

Convert a named color into a hexadecimal color with rgb value

Usage

1
color2hex(color)

Arguments

color

A named color

Value

a hexadecimal color

Examples

1
2
color2hex("green")
color2hex("red")

ztable documentation built on Sept. 28, 2021, 9:07 a.m.