rgb

fun rgb(r: Short, g: Short, b: Short): RgbColor

Creates a new RgbColor instance with r (red), g (green), and b (blue) values from 0..255.

For more information: See format on the documentation website.