rotateHueRad method

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

Rotates the hue of this color by amount in radians.

Implementation

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