Learn R Programming

colourspace (version 0.0.1)

name_to_hex: Convert colour name to HEX

Description

Looks up CSS-style colour names from the bundled meodai list and returns hex values.

Usage

name_to_hex(name)

Value

Character vector of hex colours.

Arguments

name

Character vector of colour names (case-insensitive).

Examples

Run this code
name_to_hex("100 Mph")

Run the code above in your browser using DataLab