rgba_to_hex: Convert a 4-element rgba vector to hex RGB

Description Usage Arguments Value

View source: R/utils-colour.R

Description

Convert a 4-element rgba vector to hex RGB

Usage

1
rgba_to_hex(rgba_vec)

Arguments

rgba_vec

4 element rgba with integer values [0, 255]

Value

colour hex triplet as string e.g. "#0156fe"


coolbutuseless/devoutsvg documentation built on April 24, 2020, 10:32 a.m.