@oliversalzburg/js-utils - v0.5.0
    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.