Das Runden war notwendig, weil die Genauigkeit bei den Tests nicht bestimmt wurde.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user