copyWith method
Create a new DiscordColor identical to this one with one or more channels replaced.
Implementation
DiscordColor copyWith({int? r, int? g, int? b}) => DiscordColor.fromRgb(
r ?? this.r,
g ?? this.g,
b ?? this.b,
);