Change the color of the task

Is it possible to change the color of a task by changing a field in the same task?
I know that the opposite is possible, that is, having a field with the RGB value of the task color, but I wanted the opposite…

Hmmm If you are asking for an automatic change of the color based on a function of some values on fields, that has been asked before, and the answer is no. AFAIK.

Thank you very much, Manuel