Basta un semplice if. Se il valore del campo stato è "completato" allora aggiungi il tag color oppure un class css altrimenti no.
Qual'è il problema?