From cced48d8249242ccfcd72b61f90bfa6add954ae9 Mon Sep 17 00:00:00 2001 From: sfromis <47082390+sfromis@users.noreply.github.com> Date: Fri, 11 Apr 2025 15:15:35 +0200 Subject: [PATCH] Update uDisplay.h (#23273) RGB565 value for pink was same as magenta. This is obviously wrong, hence correcting to the "pink" value from the docs. While I'm far from certain about the "right" shading of color nuances, the correction does "reasonably pink" in my eyes (on a ST7789), and assuming that the value from the docs was sourced from something relevant to the small displays used with Tasmota, I consider the change to be at least a move in the right direction. Still, the corrected value (FF80C0 in RGB888) does have the name "tea rose" when using HTML color codes as a reference, but "some people" may have more interest in long discussions like what pink "really" is. --- lib/lib_display/UDisplay/uDisplay.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lib_display/UDisplay/uDisplay.h b/lib/lib_display/UDisplay/uDisplay.h index ca8de0c5f..64afbaebd 100755 --- a/lib/lib_display/UDisplay/uDisplay.h +++ b/lib/lib_display/UDisplay/uDisplay.h @@ -97,7 +97,7 @@ enum uColorType { uCOLOR_BW, uCOLOR_COLOR }; #define UDISP_WHITE 0xFFFF /* 255, 255, 255 */ #define UDISP_ORANGE 0xFD20 /* 255, 165, 0 */ #define UDISP_GREENYELLOW 0xAFE5 /* 173, 255, 47 */ -#define UDISP_PINK 0xF81F +#define UDISP_PINK 0xFc18 /* 255, 128, 192 */ #ifdef ESP8266 #define PIN_OUT_SET 0x60000304