@kurkle/color - v0.0.0-development
    Preparing search index...

    Function rotate

    • Rotate the hue of color by degrees.

      The other transforms — lighten, darken, saturate, desaturate, alpha, clearer, opaquer, negate, greyscale, mix, and clone — are only available as methods on Color.

      Parameters

      • color: RGBA

        the color

      • degrees: number

        degrees to rotate

      Returns void