rotateHueRad method

  1. @override
HslColor rotateHueRad(
  1. double amount
)
override

Rotates the hue of this color by amount in radians.

Implementation

@override
HslColor rotateHueRad(double amount) =>
    withHue((hue + (amount * 180 / pi)) % 360);