Reuse items from array with forloop
Do you mean to have it just assign them one after the other? If so, then you can just use Twig’s cycle function.

{% set themes = [
    'yellow',
    'red',
    'teal',
    'blue'
] %}

{% for region in regions %}
 &lt;a href="{{ region.url }}" class="text-{{ cycle(themes, loop.index) }}"&gt;{{ region.title }}&lt;/a&gt;
{% endfor %}