in one of my projects i am using a button (default widget) and assigning to its pressed state the following style:
lv_style_init(&style); lv_style_set_pad_all(&style, 0); lv_style_set_border_width(&style, 0); lv_style_set_radius(&style, 0); lv_style_set_bg_color(&style, lv_color_hex(0xffcc00));
then i am also recoloring an image (when in its pressed state) created using the online image converter (ONLY_ALPHA_CHANNEL) assigning to it the following style:
lv_style_init(&style2); lv_style_set_img_recolor_opa(&style2, 255); lv_style_set_img_recolor(&style2,lv_color_hex(0xffcc00));
the two things both recolors as yellow when pressed, however the second one is of a darker yellow color while i want them to be of th eexact same color.
What is the solution to this problem?