warmestHue static method

double warmestHue(
  1. ColorModel model
)

Hue of the warmest color, per hue space of the input's ColorModel.

Implementation

static double warmestHue(ColorModel model) {
  switch (model) {
    case ColorModel.cam16:
      return 44.0;
    case ColorModel.cam16v11:
      return 40.0;
    case ColorModel.oklch:
      return 43.0;
  }
}