Homeyscript: Set HUE color to blue?

I can’t figure out how to make a HUE light blue … this is code that works for red:

let devices = await Homey.devices.getDevices();
_.forEach(devices, device => {
    if(!device.capabilities.includes("light_hue")) return;
    device.setCapabilityValue('light_hue', 1);
    device.setCapabilityValue('light_saturation', 1);
    device.setCapabilityValue('light_temperature', 2);
    device.setCapabilityValue('light_mode', 'null');

Any idea how to set it to blue?

I did find something for html. Maybe you can do something wit it.

its a normalized value between 0 and 1. So red 360 becomes 360/360 = 1. Blue becomes 240/360 = 0.66.

Maybe not what you look for but, there’s an app!