Theme

setBackground()

Allows you to customize the background color of the Room.
Color is defined with an HSL style.
Luminance is fixed to 30% in order to assert Room colors legibility.

This API can of course be called dynamically and at any moment of the event, meaning you can customize the background based on things such as : event, user input, a video you decide to share, etc.

use cases : customization, branding, animations, dynamic visuals, etc

usage :

Livestorm.Theme.setBackground({ hue: 255, saturation: 100 })
ParamType Description
hueIntegerA number between 0 and 360
saturationIntegerA percentage between 0 and 100

What’s Next
Did this page help you?