Add Custom Color Palettes in the Color Options

// Replace the default color palettes in the color picker
function my_custom_color_palettes( $palettes ) {
 
    $palettes = array(
		'#000000',
		'#ffffff',
		'#f44336',
		'#03a9f4',
		'#00bcd4',
		'#ffeb3b',
		'#ffc107',
		'#ff9800',
	);

	return $palettes;
    
}
add_filter( 'ocean_default_color_palettes', 'my_custom_color_palettes' );

All PHP snippets should be added via a child theme's functions.php file.