Hi everyone ,
i am setting the image color using the below code snippet.
lv_obj_t * scr = lv_disp_get_scr_act(NULL);
static lv_style_t style1;
style1.image.color = LV_COLOR_GREEN ;
lv_img_set_style(img_uno_mode, LV_IMG_STYLE_MAIN, &style1);
The above code is showing my image in the yellow using this “LV_COLOR_GREEN” and for showing image in green color i had to use LV_COLOR_YELLOW .
Can someone suggest me why this is happening in this way .?