My suggestion is to extend the colorpicker with a saturation part and also the JSON message:
Code: Select all
/json.htm?type=command¶m=setcolbrightnessvalue&idx=99&hue=274&brightness=40&iswhite=false
Code: Select all
/json.htm?type=command¶m=setcolbrightnessvalue&idx=99&hue=274&brightness=40saturation=20&iswhite=false