sub method

Color sub(
  1. Color color
)

Implementation

Color sub(Color color) {
  r = Math.max(0.0, r - color.r);
  g = Math.max(0.0, g - color.g);
  b = Math.max(0.0, b - color.b);

  return this;
}