Correct color names and hexadecimal codes#9
Correct color names and hexadecimal codes#9LDmicroGitHub wants to merge 3 commits intopeterhinch:masterfrom
Conversation
|
My initial reaction is not one of enthusiasm. It will break users' applications and my test scripts. It will need to be tested on different displays: some drivers reduce the I do take your point in the code comments about light and dark. I didn't choose my names wisely. On the other hand I can see merit in standardising colors. Perhaps the best option is to produce a |
Fill the screen with stripes of all colors. Frame the screen.
|
Well. I reverted the colors.py but left comments.
|

Hello, Peter.
I propose to correct the color names and hex codes according to base colors from
https://en.wikipedia.org/wiki/Web_colors
I think all hardware manufacturers are guided by these hex values.
Also, some used color codes are unsafe if RGB565 or RGB444 converting used.
100=0x64 and 90=0x5A will lose the lowest bits when converting to RGB565 or RGB444.
I am not sure about the synonyms of colors. Probably they are not needed.
I haven't changed yet the else part of color definitions.
This pull request leads to some corrections in documentation and code due to the change in user colors.
Also, I propose to develop several color schemes similar to those used in editors with good contrast and readable.

I want to know your opinion on the main.
WIP