rotateHue method

  1. @override
HspColor rotateHue(
  1. num amount
)
override

Rotates the hue of this color by amount in degrees.

Implementation

@override
HspColor rotateHue(num amount) => withHue((hue + amount) % 360);