Here correctly work
scene.clearColor = new BABYLON.Color3.FromHexString('#FF377B');
https://www.babylonjs-playground.com/#0UE3H8#1
but when I try do same in the my typescript code IDE and compiler are throw error TS2350: Only a void function can be called with the 'new' keyword.
my package.json
{
"devDependencies": {
"ts-loader": "6.0.4",
"typescript": "3.5.3"
},
"dependencies": {
"babylonjs": "^4.0.3",
"babylonjs-loaders": "^4.0.3",
}
}