From 572880ccd3374ccbe81cf09a0620bf95659ca883 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 8 Nov 2021 01:42:12 +0800 Subject: [PATCH] Fix typo error in color.md --- docs/overview/color.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/overview/color.md b/docs/overview/color.md index 49ba0007f..7de1a715b 100644 --- a/docs/overview/color.md +++ b/docs/overview/color.md @@ -79,7 +79,7 @@ lv_color_t c = lv_color_lighten(c, lvl); // Darken a color. 0: no change, 255: black 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);