public function sanitizeColorSheme($colors)
    {

        //Make array keyless
        $colors = array_values(array_unique((array) $colors));

        //Check if value is valid HEX
        foreach ($colors as $colorKey => $color) {
            if (preg_match('/^#[a-f0-9]{6}$/i', $color)) {
                continue;
            }
            unset($colors[$colorKey]);
        }

        //Sort (base colors at the end)
        usort($colors, function ($a, $b) {
            return strlen($b)-strlen($a);
        });

        return $colors;
    }