Dualshock 4 light bar custom color

I know this is not possible with the gamepad extention, but could anyone tell me the Javascript code for this? (if it is possible of course)

The Javascript/HTML5 standard for Gamepads does not have a way to address the light bar on a Dualshock 4. Gamepad for more info on what is possible. I think the gamepad extension covers everything that can be done with the standard.

Ok… Well, that sucks.
But thanks!