Scenic.Color.to_g

You're seeing just the function to_g, go back to Scenic.Color module for more information.

Specs

to_g(color :: t()) :: g()

Convert a specified color to G format (just grayscale)

This is a lossy conversion and will lose any color information other than the gray level.