Color.toGrayscaleNumber

Converts the color to black and white.

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

Meta