clayNightOperatorHue function

int clayNightOperatorHue(
  1. int hue
)

Night operators: kelly green (clayNightKellyBand) turns jade (clayNightJade). Pure integer tenths.

Implementation

int clayNightOperatorHue(int hue) {
  final h = _wrap(hue);
  const band = clayNightKellyBand;
  if (!band.contains(h)) return h;
  return _spread(clayNightJade, h - band.lo, band.hi - band.lo);
}