coolestHue static method

double coolestHue(
  1. ColorModel model
)

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

Implementation

static double coolestHue(ColorModel model) {
  switch (model) {
    case ColorModel.cam16:
      return 227.0;
    case ColorModel.cam16v11:
      return 230.0;
    case ColorModel.oklch:
      return 225.0;
  }
}