Create an in-line list:
{{- range list "blue" "red" "green" }} ... {{ end }}
List are called slices in templates.