How to change background colour of heart based on status


how to change colour of heart based on status if status id Approved then heart colour will be “Green” if Draft then “Orange” if Sent to HR “Red”

check this List