hue method

int hue(
  1. Color color
)

Implementation

int hue(Color color) => (HSVColor.fromColor(color).hue * 255).round();