I needed a quick replacement from Aliexpress and picked this one:-
3.2 Inch IPS Red Module ESP32 HD Display TFT LCD ILI9341 When it arrived it had this label attached Sure enough the colours were wrong. In fact they were inverted so black instead of white etc.
The "software" emailed later was little use as Arduino and Python orientated.
The ILI9341 has an invert bit which can be accessed directly and luckily cicciocb had already provided a patch for a similar problem 5 years ago!
In case anyone else buys this sort of TFT the patch is repeated here:-
Code: [Local Link Removed for Guests]
'reverse TFT colors
CS = 14
DC = 27
pin(DC) = 0
SPI.CSPIN CS
wlog spi.byte(&h21)
wlog spi.byte(&h21)
pin(DC) = 1
Anyway hope this is helpful and thanks, as always ,to cicciocb.