# SWFDisplayItem->addColor()

(PHP 4 >= 4.0.5)

SWFDisplayItem->addColor() — Adds the given color to this item's color transform

### Description

SWFDisplayItem
void addColor ( int `$red` , int `$green` , int `$blue` [, int `$a` ] )
Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

swfdisplayitem->addcolor() adds the color to this item's color transform. The color is given in its RGB form.

The object may be a swfshape(), a swfbutton(), a swftext() or a swfsprite() object. It must have been added using the swfmovie->add().

### Return Values

No value is returned.

### Return Values

No value is returned.