multiplyByScalar
Multiplies the provided Color componentwise by the provided scalar.
Return
The modified result parameter.
Parameters
color
The Color to be scaled.
scalar
The scalar to multiply with.
result
The object onto which to store the result.