Color.toGrayscale

Converts the color to black and white.

struct Color(T)
@safe nothrow pure inout
toGrayscale
()
if (
isIntegral!T ||
isFloatingPoint!T
)

Meta