Hello,
 
I have a product page and included a attribute "levertijd" in that attribute there are a few posible outcomes.
 
Direct Leverbaar
Leverbaar in 2 a 3 dagen
Leverbaar in 5 dagen
Leverbaar in 1 a 2 weken
 
I want to get the fist two set in green, then orange end final in red. How can i doe so??
 
If have this code to get the info out of the database,
 
<?php echo$_item->getLevertijd(); ?>