Learn R Programming

rayrender (version 0.41.3)

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
if (FALSE) { # interactive() || identical(Sys.getenv("IN_PKGDOWN"), "true")
#none
}

Run the code above in your browser using DataLab