changeRgb method

SassColor changeRgb({
  1. int? red,
  2. int? green,
  3. int? blue,
  4. num? alpha,
})

Changes one or more of this color's RGB channels and returns the result.

Implementation

SassColor changeRgb({int? red, int? green, int? blue, num? alpha}) =>
    SassColor.rgb(red ?? this.red, green ?? this.green, blue ?? this.blue,
        alpha ?? this.alpha);