diff --git a/src/PhpSpreadsheet/Style/Color.php b/src/PhpSpreadsheet/Style/Color.php index 78c860fb..913747b0 100644 --- a/src/PhpSpreadsheet/Style/Color.php +++ b/src/PhpSpreadsheet/Style/Color.php @@ -62,7 +62,7 @@ class Color extends Supervisor // Initialise values if (!$isConditional) { - $this->argb = $this->setARGB($colorValue); + $this->argb = $this->validateARGB($colorValue) ? $colorValue : self::COLOR_BLACK; } }