How to use scene.clearColor parameters with Babylon Viewer?

In other words, how to properly translate, for example,
scene.clearColor = new BABYLON.Color3(0.5, 0.8, 0.5);
into DOM configuration (or JSON) for Viewer?

    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>BabylonJS Viewer - DOM usage</title>
        babylon {
            width: 800px;
            height: 500px;

    <babylon extends="minimal">
        <model url="">
            <scaling x="10" y="10" z="10"></scaling>
                <auto-rotate type="0"></auto-rotate>
		<clear-color r="1" g="0", b="0"></clear-color>
    <script src=""></script>
1 Like

Thank you very much!

1 Like