src/ConsoleColor.php
public function addColor($color, $code = null)
    {
        $newColors = $this->parseColor($color, $code);

        $this->colors = array_merge($this->colors, $newColors);

        return $this;
    }
public function addColor($color, $code = null)
    {
        $newColors = $this->parseColor($color, $code);

        $this->colors = array_merge($this->colors, $newColors);

        return $this;
    }
Add color to the colors.

@param string $color
@param int    $code