Lavender Docs

/ home / docs

Color


A container for RGB values of a color

Properties

TypeProperty
floatr
floatg
floatb

Constructors

ReturnConstructorValue
ColorColor.new(r, g, b){r = r, g = g, b = b}

Constants

TypeNameValue
Colorwhite{ r = 1, g = 1, b = 1 }
Colorblack{ r = 0, g = 0, b = 0 }