Set the individual r, g, b channels of the color.
r
g
b
@override void setRgb(num r, num g, num b) { this.r = r; this.g = g; this.b = b; }