hex_to_rgb {schemr}R Documentation

Convert hexadecimal colours to RGB colour channels.

Description

Convert hexadecimal colours to RGB colour channels.

Usage

hex_to_rgb(hex)

Arguments

hex

A character vector containing hex representations of RGB colours.

Value

A tibble of red, green and blue colour channels.

Examples

hex_to_rgb(c("#5f9e3a"))

[Package schemr version 0.3.0 Index]