Making custom icon invert color when object selected

Hi, I want to recolor this img(it’s color format is alpha only 16 shades), and I’m using LVGL V7.0

but the image can’t be recolored. plz help to take a look thanks.