addRed method

Color addRed(
  1. int value
)

Implementation

Color addRed(int value) {
  int fin = red + value;
  fin = fin.clamp(0, 255);
  return withRed(fin);
}