RGBA

Syntax

Konsol:RGBA(red, green, blue, alpha, return)

Description

Returns a corresponding color with transparency depending on the values supplied.

Note

If you want Alpha to be 255 use RGB, instead.

Example

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