src/Mixer.php
public function addColor($color)
    {
        if ( ! $color instanceof Color ) {
            $color = new Color($color);
        }

        $this->colors []= $color;
    }
public function addColor($color)
    {
        if ( ! $color instanceof Color ) {
            $color = new Color($color);
        }

        $this->colors []= $color;
    }
public function addColor ( $ color ) { if ( ! $ color instanceof Color ) { $ color = new Color ( $ color ) ; } $ this -> colors [ ] = $ color ; }
Adds a color to the Mixer.

@param mixed Color object or string

@return null
Adds a color to the Mixer .