Das Runden war notwendig, weil die Genauigkeit bei den Tests nicht bestimmt wurde.

This commit is contained in:
2021-03-05 17:36:36 +01:00
parent 21e05cb4a5
commit 07cf2f12cd
@@ -54,7 +54,7 @@ class CyanMagentaYellowKeyToHueSaturationValue
$this->maxCmyProperty = max($this->cyan, $this->magenta, $this->yellow);
$this->minCmyProperty = min($this->cyan, $this->magenta, $this->yellow);
$this->hue = round($this->buildHueAmount(), 3);
$this->hue = $this->buildHueAmount();
$this->saturation = $this->maxCmyProperty;
$this->value = 1 - $this->key;
}