I'm unable to change the saturation and lightness of the HSL values in widgets. The hue value can be changed fine though. Is this a bug, or something else?
Thanks in advance!
Gui Guider Version: 1.2.1-GA // Windows 10 Home 19043.928
Solved! Go to Solution.
Hi,
HSL is not supported by LVGL, LVGL supports HSV setting, GUI Guider doesn't support HSV setting currently, we will add the support in releases of 2022.
lv_color_t lv_color_hsv_to_rgb(uint16_t h, uint8_t s, uint8_t v)
Convert a HSV color to RGB
Parameters
h -- hue [0..359]
s -- saturation [0..100]
v -- value [0..100]
Returns the given RGB color in RGB (with LV_COLOR_DEPTH depth)
Best Regards,
Zhenhua
Hi,
HSL is not supported by LVGL, LVGL supports HSV setting, GUI Guider doesn't support HSV setting currently, we will add the support in releases of 2022.
lv_color_t lv_color_hsv_to_rgb(uint16_t h, uint8_t s, uint8_t v)
Convert a HSV color to RGB
Parameters
h -- hue [0..359]
s -- saturation [0..100]
v -- value [0..100]
Returns the given RGB color in RGB (with LV_COLOR_DEPTH depth)
Best Regards,
Zhenhua
Thank you for the help!