Get Block Editor (Gutenberg) Color Palette Colors

<?php
// get block editor colors
$colors = get_theme_support( 'editor-color-palette' );
foreach( $colors[0] as $color ) {

     // options included in array
     $name = $color['name']; // name
     $slug = $color['slug']; // slug
     $color = $color['color']; // hex format
}