We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using a library to manage 2 bytes (16 bits) colors might be considered
Here is a schema for such colors representation (aka RGB565)
RGB565
1 |1 | 0 5 4 3 2 1|0 9 8 7 6 5|4 3 2 1 0 ---------|-----------|--------- R R R R R|G G G G G G|B B B B B
5 bits for red channel - 32 values
6 bis for green channel - 64 values (green gets an extra bit because it's the main element of luminance)
5 bits for blue channel - 32 values
The text was updated successfully, but these errors were encountered:
Currently we are using a custom class https://github.com/py3-nextion/pynextion/blob/master/pynextion/color.py
Sorry, something went wrong.
No branches or pull requests
Using a library to manage 2 bytes (16 bits) colors might be considered
Here is a schema for such colors representation (aka
RGB565
)5 bits for red channel - 32 values
6 bis for green channel - 64 values (green gets an extra bit because it's the main element of luminance)
5 bits for blue channel - 32 values
The text was updated successfully, but these errors were encountered: