79 return lhs.h == rhs.h && lhs.s == rhs.s && lhs.v == rhs.v;
HSVHue
Pre-defined hue values for hsv8 objects.
#define FASTLED_FORCE_INLINE
@ HUE_PURPLE
Purple (270°)
fl::u8 value
Color value (brightness).
fl::u8 saturation
Color saturation.
InputGamut g FL_NO_EXCEPT
Base definition for an LED controller.
FASTLED_FORCE_INLINE fl::u8 & operator[](fl::u8 x) FL_NO_EXCEPT
Array access operator to index into the hsv8 object.
friend FASTLED_FORCE_INLINE bool operator==(const hsv8 &lhs, const hsv8 &rhs) FL_NO_EXCEPT
Compare two HSV colors field by field.
constexpr hsv8() FL_NO_EXCEPT
Default constructor.
FASTLED_FORCE_INLINE hsv8 & setHSV(fl::u8 ih, fl::u8 is, fl::u8 iv) FL_NO_EXCEPT
Assign new HSV values.
constexpr hsv8(fl::u8 ih, fl::u8 is, fl::u8 iv) FL_NO_EXCEPT
Allow construction from hue, saturation, and value.
constexpr hsv8(const hsv8 &rhs) FL_NO_EXCEPT
Allow copy construction.
friend FASTLED_FORCE_INLINE bool operator!=(const hsv8 &lhs, const hsv8 &rhs) FL_NO_EXCEPT
Compare two HSV colors field by field.
hsv8 & operator=(const hsv8 &rhs) FL_NO_EXCEPT=default
Allow copy construction.