Recolor a part of an image

I have image like this


and sometimes need to modify it: change partialy white color to another one, like this:

I will be grateful for any suggestions!

What LVGL version are you using?

7.11