trait ColorValueTrait

Trait ColorValueTrait

Methods

color(string $color)

Sets the color.

Details

$this color(string $color)

Sets the color.

Parameters

Name Type Description
$color string The color. Can be RGB, HEX, named color, etc.

Return Value

$this