rgbToHex {ggRtsy}R Documentation

Converts RGB colors to Hex code colors

Description

Converts RGB colors to Hex code colors

Usage

rgbToHex(rgbVec)

Arguments

rgbVec

a vector of strings in the format "(0, 72, 186)"

Details

Taking input of a vector of RGB values in the format "(0, 72, 186)", etc, and returns the corresponding hex value in the format "#0048ba"

Value

vector of hex code strings in the format "#0048ba"


[Package ggRtsy version 0.1.0 Index]