Pass the RGB values to the template.