col2hex: Convert color names to hexadecimal format

View source: R/colors.R

col2hexR Documentation

Convert color names to hexadecimal format

Description

Convert color names to hexadecimal RGB color codes.

Usage

col2hex(cname)

Arguments

cname

A character vector of color names.

Value

A character vector of hexadecimal color codes.


thisplot documentation built on March 7, 2026, 5:07 p.m.