src/Forms/Fields/Types/ColorType.php
protected function getDefaultColors()
    {
        $colors = [
            [
                'name' => 'Pale pink',
                'color' => '#f78da7'
            ],
            [
                'name' => 'Vivid red',
                'color' => '#cf2e2e'
            ],
            [
                'name' => 'Luminous vivid orange',
                'color' => '#ff6900'
            ],
            [
                'name' => 'Luminous vivid amber',
                'color' => '#fcb900'
            ],
            [
                'name' => 'Light green cyan',
                'color' => '#7bdcb5'
            ],
            [
                'name' => 'Vivid green cyan',
                'color' => '#00d084'
            ],
            [
                'name' => 'Pale cyan blue',
                'color' => '#8ed1fc'
            ],
            [
                'name' => 'Vivid cyan blue',
                'color' => '#0693e3'
            ],
            [
                'name' => 'Very light gray',
                'color' => '#eeeeee'
            ],
            [
                'name' => 'Cyan bluish gray',
                'color' => '#abb8c3'
            ],
            [
                'name' => 'Very dark gray',
                'color' => '#313131'
            ]
        ];

        return array_map(function (array $color) {
            return [
                'name' => function_exists('__') ? __($color['name'], Application::TEXTDOMAIN) : $color['name'],
                'color' => $color['color']
            ];
        }, $colors);
    }
protected function getDefaultColors()
    {
        $colors = [
            [
                'name' => 'Pale pink',
                'color' => '#f78da7'
            ],
            [
                'name' => 'Vivid red',
                'color' => '#cf2e2e'
            ],
            [
                'name' => 'Luminous vivid orange',
                'color' => '#ff6900'
            ],
            [
                'name' => 'Luminous vivid amber',
                'color' => '#fcb900'
            ],
            [
                'name' => 'Light green cyan',
                'color' => '#7bdcb5'
            ],
            [
                'name' => 'Vivid green cyan',
                'color' => '#00d084'
            ],
            [
                'name' => 'Pale cyan blue',
                'color' => '#8ed1fc'
            ],
            [
                'name' => 'Vivid cyan blue',
                'color' => '#0693e3'
            ],
            [
                'name' => 'Very light gray',
                'color' => '#eeeeee'
            ],
            [
                'name' => 'Cyan bluish gray',
                'color' => '#abb8c3'
            ],
            [
                'name' => 'Very dark gray',
                'color' => '#313131'
            ]
        ];

        return array_map(function (array $color) {
            return [
                'name' => function_exists('__') ? __($color['name'], Application::TEXTDOMAIN) : $color['name'],
                'color' => $color['color']
            ];
        }, $colors);
    }
protected function getDefaultColors ( ) { $ colors = [ [ 'name' => 'Pale pink' , 'color' => '#f78da7' ] , [ 'name' => 'Vivid red' , 'color' => '#cf2e2e' ] , [ 'name' => 'Luminous vivid orange' , 'color' => '#ff6900' ] , [ 'name' => 'Luminous vivid amber' , 'color' => '#fcb900' ] , [ 'name' => 'Light green cyan' , 'color' => '#7bdcb5' ] , [ 'name' => 'Vivid green cyan' , 'color' => '#00d084' ] , [ 'name' => 'Pale cyan blue' , 'color' => '#8ed1fc' ] , [ 'name' => 'Vivid cyan blue' , 'color' => '#0693e3' ] , [ 'name' => 'Very light gray' , 'color' => '#eeeeee' ] , [ 'name' => 'Cyan bluish gray' , 'color' => '#abb8c3' ] , [ 'name' => 'Very dark gray' , 'color' => '#313131' ] ] ; return array_map ( function ( array $ color ) { return [ 'name' => function_exists ( '__' ) ? __ ( $ color [ 'name' ] , Application :: TEXTDOMAIN ) : $ color [ 'name' ] , 'color' => $ color [ 'color' ] ] ; } , $ colors ) ; }
Return a list of default colors for the field.

@return array
Return a list of default colors for the field .