trait BackgroundColorTrait

Trait BackgroundTrait

Methods

backgroundColor(Background|ColorValue|string $color)

Sets the color of the background.

Details

BackgroundColorTrait backgroundColor(Background|ColorValue|string $color)

Sets the color of the background.

Parameters

Name Type Description
$color Background|ColorValue|string The color of the background to set.

Return Value

BackgroundColorTrait

See also

Background