lerp method

Color lerp(
  1. Color color,
  2. num alpha
)

Implementation

Color lerp(Color color, num alpha) {
  r += (color.r - r) * alpha;
  g += (color.g - g) * alpha;
  b += (color.b - b) * alpha;

  return this;
}