ColorHelper class

Constructors

ColorHelper()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

ctToRGB(num ct) → HueColor
Converts ct to rgb values.
hueSaturationBrightnessToRGB(num hue, num saturation, num brightness) → HueColor
Converts hue, saturation and brightness to rgb values
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rgb(num red, num green, num blue) → HueColor
rgbToCT(num red, num green, num blue) → HueColor
Converts red, green, blue values to CT
rgbToHueSaturationBrightness(num red, num green, num blue) → HueColor
Converts rgb values to hue, saturation and brightness.
rgbToXY(num red, num green, num blue) → HueColor
Converts rgb values to xy
toString() String
A string representation of this object.
inherited
xyToRGB(num x, num y, [num? brightness]) → HueColor
Converts x,y with an optional brightness to rgb values

Operators

operator ==(Object other) bool
The equality operator.
inherited