protected function parseColor($color, $code = null)
    {
        $colors = is_array($color) ? $color : [$color => $code];
        $return = [];

        array_walk($colors, function ($code, $color) use (&$return) {
            $color = $this->snakeCase($color);
            $return[$color] = $code;
        });

        return $return;
    }