RGB

Syntax

Konsol:RGB(red, green, blue, return)

Description

Returns a corresponding color depending on the values supplied.

Note

For Alpha, see RGBA.

Example

function main() {
  Number color;
  Konsol:RGB(255, 0, 0, color)
  //color will have a color value of pure red
}
www.konsolscript.org
© 2005-2011 KonsolScript Labs | All Rights Reversed | Licensed under GNU GPL | Designed by Mj Mendoza IV
http://www.sourceforge.net