rgb_to_hex: Converts RGB values to hex colour code

Description Usage Arguments Value Examples

View source: R/helper_functions.R

Description

Converts RGB values to hex colour code

Usage

1

Arguments

x

A matrix of red, blue and green values

Value

A corresponding hex colour code

Examples

1
2
temp_rgb_matrix <- rgba_to_rgb(c(52, 46, 39, 0.8))
rgb_to_hex(temp_rgb_matrix)

monochromeR documentation built on Dec. 20, 2021, 5:07 p.m.