Overlolad of the *= and /= operators.
This operation computers the component-wise multiplicaton or division of a color and a scalar, then assignes it to the color. Components that exceed 255 are clamped to 255 and those below 0 are clamped to 0.
the scalar to multiply/divide the Color
A reference to this color after performing the multiplication or division.
See Implementation
Overlolad of the *= and /= operators.
This operation computers the component-wise multiplicaton or division of a color and a scalar, then assignes it to the color. Components that exceed 255 are clamped to 255 and those below 0 are clamped to 0.