rgb

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

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(red: Double, green: Double, blue: Double)

Add a RGB color expression from numbers to the current expression builder.