public setBackgroundColor ( string | array $backgroundColor ) | ||
$backgroundColor | string | array | The color in hexa (3 or 6 chars) or rgb array |
public function setBackgroundColor($backgroundColor)
{
if (null === $backgroundColor) {
return $this;
}
$this->backgroundColor = $this->convertColor($backgroundColor);
return $this;
}