setScalar

fun setScalar(scalar: Double): Color

Sets all components to the scalar value scalar.

Return

A reference to this color.