rgb

Creates a color value from red, green, and blue components, which must range between 0 and 255, and an alpha component of 1. If any component is out of range, the expression is an error.

fun rgb(block: Expression.ExpressionBuilder.() -> Unit): Expression

Construct a RGB color expression from numbers.

fun rgb(red: Double, green: Double, blue: Double): Expression