Learn R Programming

rayshader (version 0.41.2)

convert_color: Convert Color

Description

Convert Color

Usage

convert_color(color, as_hex = FALSE, linear = FALSE)

Value

Color vector

Arguments

color

The color to convert. Can be either a hexadecimal code, or a numeric rgb vector listing three intensities between 0 and 1.