Documentation
    Preparing search index...

    Function toGrayScale

    • Converts a color value to grayscale.

      Parameters

      • color: number

        The color to convert.

      Returns number

      The grayscale value appropriate for the color.