RgbColor class

Inheritance
Implemented types
Implementers

Constructors

RgbColor(num r, num g, num b)
Creates a Color using a vector describing its red, green, and blue values.
const
RgbColor.name(String name)
factory

Properties

b num
final
g num
final
hashCode int
The hash code for this object.
no setterinherited
r num
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCielabColor() CielabColor
override
toCssString() String
override
toHexColor() HexColor
override
toHslColor() HslColor
override
toHsvColor() HsvColor
override
toMap() Map<String, num>
override
toRgbColor() RgbColor
override
toString() String
A string representation of this object.
override
toXyzColor() XyzColor
override

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String key) num
inherited

Constants

bMax → const int
bMin → const int
gMax → const int
gMin → const int
namedColors → const Map<String, RgbColor>
rMax → const int
rMin → const int