multiplyScalar method

Color multiplyScalar(
  1. num s
)

Implementation

Color multiplyScalar(num s) {
  r *= s;
  g *= s;
  b *= s;

  return this;
}