0

PiTFT 1.3 inch PRODUCT ID: 4520 Max color 16 or 18
Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Please be positive and constructive with your questions and comments.

PiTFT 1.3 inch PRODUCT ID: 4520 Max color 16 or 18

by marks3 on Thu May 13, 2021 6:26 pm

Does this product support 18 bit color ?

I purchased it and it is very impressive. Got the demo's working.

But what RGB color depth is supported? It seems like the demo code uses color565() to reduce maps of 24 bits to 16.

I am trying to build a comprehensive static list of colors, say about 32 or more. But I can't find a table anywhere.

The closest I have found is http://www.barth-dev.de/online/rgb565-color-picker/

marks3
 
Posts: 52
Joined: Fri Oct 12, 2012 1:07 pm
Location: Toronto, Ontario, Canada

Re: PiTFT 1.3 inch PRODUCT ID: 4520 Max color 16 or 18

by adafruit_support_mike on Fri May 14, 2021 2:15 am

That's a 16-bit device, and doesn't support 18-bit color.

The color space is 5-bit red, 6-bit green, and 5-bit blue to match the mid-spectrum sensitivity of the human eye.

adafruit_support_mike
 
Posts: 62799
Joined: Thu Feb 11, 2010 2:51 pm

Re: PiTFT 1.3 inch PRODUCT ID: 4520 Max color 16 or 18

by marks3 on Fri May 14, 2021 9:57 am

Thanks Mike!

marks3
 
Posts: 52
Joined: Fri Oct 12, 2012 1:07 pm
Location: Toronto, Ontario, Canada

Please be positive and constructive with your questions and comments.