showing layer based on color given