Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

color2

$color = array(
	'relation' => 'AND',
	array(
		'key'     => 'color',
		'value'   => 'red',
		'compare' => '=',
	),
);