The icon is colored. Can I make the icon black and white (in grayscale), and then make it color again, as it was? Is there a functional in LVGL that allows you to change the palette of a picture from color to black and white and back?
That is, you need to make a copy home_icon - home_icon_BlackWhite
In this copy, change the color
then LV_IMG_DECLARE(home_icon_BlackWhite);
and then set black&white by