Crestron Components Lib - Showcase App

ch5-background: imgBackgroundColor

imgBackgroundColor attribute

Related to the scale attribute having value of fit this attribute defines the color of the pillarbox or letterbox borders when image aspect ratio is not the same of the component aspect ratio.

Default color is black.

<div style="height: 320px;">
    <ch5-background refreshrate="10" imgbackgroundcolor="#55efc4" scale="fit" url="https://picsum.photos/id/1/200/800 | https://picsum.photos/id/2/800/200"></ch5-background>
</div>