rgb2hex: Return hex value of specified rgb colour

View source: R/utils.r

rgb2hexR Documentation

Return hex value of specified rgb colour

Description

Take an RGB colour value and return a hex colour code

Usage

rgb2hex(r, g, b)

Arguments

r

R channel

g

G channel

b

B channel

Value

A hex colour code


lukehannan/lumisc documentation built on May 9, 2022, 12:59 p.m.