template reference and colors