added some styling for different colors to the snippet