RGBA

From oWiki

Jump to: navigation, search

Contents


Attributes

r

float  ( r, w )
Specifies the RED component of a color.

g

float  ( r, w )
Specifies the GREEN component of a color.

b

float  ( r, w )
Specifies the BLUE component of a color.

a

float  ( r, w )
Specifies the ALPHA component of a color.


Comments

Call newRGBA() to create a new RGBA object.

var color = newRGBA();
Personal tools