TFT ILI9341 ERROR

I have an error that says "class Adafruit_ILI9341 has no member named 'Color565' "

The line highlitted is this one:

tft.pushColor(tft.Color565(r,g,b));

Any help?

tft.color565(), not Color565