Crestron Components Lib - Showcase App

ch5-background: backgroundColor

backgroundColor attribute

When one or more background colors are used using the CSS background-color property syntax including color names, #hex codes, rgb(), rgba(), hsl() and hsla(). Multiple colors can be provided separated by a | (vertical bar) to cycle colors based on the time defined.

This attribute is superseded by the url attribute.

<div style="height: 320px;">
    <ch5-background backgroundcolor="#40a4c4"></ch5-background>
</div>

backgroundColor with multiple colors.

<div style="height: 320px;">
    <ch5-background refreshrate="10" backgroundcolor="olive | #55efc4 | rgb(255,118,117) | rgba(253,203,110, 0.5) | hsl(339, 97.1%, 73.3%) | hsla(196, 7.0%, 41.8%, 1)"></ch5-background>
</div>