rgb method

  1. @override
Rgb rgb()
override

Returns the RGB equivalent of this color.

For RGB colors, that’s this.

Implementation

@override
Rgb rgb() {
  return this;
}