Lines Matching refs:hue
101 * Sort by the hue of a color, not by its hex-representation
105 $hue = $this->getHue(parent::getSortString($value));
106 return $hue;
110 * Calculate the hue of a color to use it for sorting so we can sort similar colors together.
129 $hue = ($green - $blue) / ($max - $min);
132 $hue = 2 + ($blue - $red) / ($max - $min);
135 $hue = 4 + ($red - $green) / ($max - $min);
137 $hue *= 60;
138 if ($hue < 0) {
139 $hue += 360;
141 return $hue;