Color codes for the touchscreen

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
kqpro
 
Posts: 24
Joined: Sun Feb 10, 2013 2:41 pm

Color codes for the touchscreen

Post by kqpro »

Is there a table of codes for all the colors for the TFT touchscreen ? Currently I do not know how the code for the color works.
Thanks.

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: Color codes for the touchscreen

Post by adafruit_support_mike »

Our tutorial for the graphics library might help you out: http://learn.adafruit.com/adafruit-gfx- ... -and-units

irie
 
Posts: 6
Joined: Mon Jun 23, 2014 11:07 am

Re: Color codes for the touchscreen

Post by irie »

I know, it's been a long time since this question was asked, but maybe my reply helps anybody else stumbling upon this post in search for the right color codes to use with the screen.
The color values the Arduino requires are in the RGB565-format. Thanks to Henning Karlsen we now have this awesome color calculator and no more problems finding the right color :) : http://www.henningkarlsen.com/electroni ... rgb565.php

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: Color codes for the touchscreen

Post by adafruit_support_mike »

Neat! Thanks for posting the link. ;-)

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”