1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

Fix typo error in color.md

This commit is contained in:
Xiang Xiao 2021-11-08 01:42:12 +08:00 committed by GitHub
parent 53a3e17f76
commit 572880ccd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,7 +79,7 @@ lv_color_t c = lv_color_lighten(c, lvl);
// Darken a color. 0: no change, 255: black // Darken a color. 0: no change, 255: black
lv_color_t c = lv_color_darken(lv_color_t c, lv_opa_t lvl); lv_color_t c = lv_color_darken(lv_color_t c, lv_opa_t lvl);
// Lighten or darken a color. 0: black, 128: no change 255: black // Lighten or darken a color. 0: black, 128: no change 255: white
lv_color_t c = lv_color_change_lightness(lv_color_t c, lv_opa_t lvl); lv_color_t c = lv_color_change_lightness(lv_color_t c, lv_opa_t lvl);