Struct lifx_core::HSBK[][src]

pub struct HSBK {
    pub hue: u16,
    pub saturation: u16,
    pub brightness: u16,
    pub kelvin: u16,
}

Bulb color (Hue-Saturation-Brightness-Kelvin)

Notes:

Colors are represented as Hue-Saturation-Brightness-Kelvin, or HSBK

When a light is displaying whites, saturation will be zero, hue will be ignored, and only brightness and kelvin will matter.

Normal values for "kelvin" are from 2500 (warm/yellow) to 9000 (cool/blue)

When a light is displaying colors, kelvin is ignored.

To display "pure" colors, set saturation to full (65535).

Fields

Methods

impl HSBK
[src]

Trait Implementations

impl Debug for HSBK
[src]

Formats the value using the given formatter. Read more

impl Copy for HSBK
[src]

impl Clone for HSBK
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for HSBK
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for HSBK

impl Sync for HSBK