]> _ Git - cubist_util.git/commitdiff
wip #6117 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 7 Jul 2023 09:37:53 +0000 (11:37 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 7 Jul 2023 09:37:53 +0000 (11:37 +0200)
src/Graphics/Color.php

index 0ac57c0ab4c7daf1a89089e5c38460400fb50acd..d4ade5a3d8285902fbabc5709b95cbe4e0b3865d 100644 (file)
@@ -147,7 +147,7 @@ class Color
         } elseif ($this->_alpha == 1) {
             return '#' . $this->toHexRVB();
         }
-        return 'rgba(' . self::_to255($this->_red) . ',' . self::_to255($this->_green) . ',' . self::_to255($this->_blue) . ',' . $this->_alpha . ')';
+        return 'rgba(' . self::_to255($this->_red) . ', ' . self::_to255($this->_green) . ', ' . self::_to255($this->_blue) . ', ' . $this->_alpha . ')';
     }
 
     public function toHexRVB()