Method Hsv
- Namespace
- Yeelight
- Assembly
- YeelightClient.dll
Hsv(int, int, int)
Makes a scene that sets a colour, as a hue and a saturation, and a brightness.
public static YeelightScene Hsv(int hue, int saturation, int brightness)
Parameters
hueintThe hue, 0 to 359.
saturationintThe saturation, 0 to 100.
brightnessintThe brightness, 1 to 100.
Returns
- YeelightScene
The scene.
Exceptions
- ArgumentOutOfRangeException
An argument is out of the range that the protocol allows.