public function addByArray(string $name, array $styleConfig): self
    {
        $style = [
            'fg'      => '',
            'bg'      => '',
            'extra'   => false,
            'options' => []
        ];

        $config = \array_merge($style, $styleConfig);
        [$fg, $bg, $extra, $options] = \array_values($config);

        $this->styles[$name] = Color::make($fg, $bg, $options, (bool)$extra);

        return $this;
    }