Colors can be defined with template. In this sample colors and defined in data by "color" field.