color2hex {ztable}R Documentation

Convert a named color into a hexadecimal color with rgb value

Description

Convert a named color into a hexadecimal color with rgb value

Usage

color2hex(color)

Arguments

color

A named color

Value

a hexadecimal color

Examples

color2hex("green")
color2hex("red")

[Package ztable version 0.2.3 Index]