Table of Contents

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

hue int

The hue, 0 to 359.

saturation int

The saturation, 0 to 100.

brightness int

The brightness, 1 to 100.

Returns

YeelightScene

The scene.

Exceptions

ArgumentOutOfRangeException

An argument is out of the range that the protocol allows.