• Thanks Jack.

    The switch function offers to have multiple option for colors

    However you can apply on the field only in whose property we have attached the code

    I want to color one field depending on the value of another field

    Is it possible ?