Learn R Programming

rayshader (version 0.35.7)

convert_color: Convert Color

Description

Convert Color

Usage

convert_color(color, as_hex = 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`.

Examples

Run this code
#none

Run the code above in your browser using DataLab