public function setColor($color)
    {
        if (!empty($color)) {
            $this->color = $this->convertColor($color);
        }

        return $this;
    }
public function setColor($color)
    {
        if (!empty($color)) {
            $this->color = $this->convertColor($color);
        }

        return $this;
    }
public function setColor ( $ color ) { if ( ! empty ( $ color ) ) { $ this -> color = $ this -> convertColor ( $ color ) ; } return $ this ; }
Set the image foreground color.

@param $color foreground color of image.

@since 3.0.0

@return array
Set the image foreground color .