The shared base of Colour, HSVColour and HSLColour, so any of
them can be converted to the others.
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Static Methods
-
colorFromHue(double alpha, double hue, double chroma, double secondary, double match)
→ Color
-
The same as colourFromHue, but returns a plain Flutter Color.
-
colourFromHue(double alpha, double hue, double chroma, double secondary, double match)
→ Colour
-
Builds a Colour from the intermediate values of an HSL or HSV to RGB
conversion.
-
getHue(double red, double green, double blue, double max, double delta)
→ double
-
Works out the hue (0 to 360) from red, green and blue values between
0.0 and 1.0.