Skip to contents

RGB to hex color

Usage

rgb2hex(r, g, b)

Arguments

r

red

g

green

b

blue

Value

colors as hex

Examples

rgb2hex(0, 165, 0)
#> [1] "#00A500"