The hue beta driver:
will allow you to do this:
with the following able to be interrogated from a routine:
and set by a routine: