Color representation as rgb, int and hex

Eko palypse ekopalypse at gmail.com
Sun Sep 8 16:33:21 EDT 2019


> You haven't said whether your machine is big-endian or little-endian.

Correct, it is little but I'm wondering why this isn't taking into account.
I thought a method called fromhex would imply that bytes for an integer
should be created and as that it would use the proper byte order to create it.
But it seems that it treats the string literally.
Isn't that confusing?

Eren



More information about the Python-list mailing list