Take color for TFT from JSON?

Not like that. color1=ST7735_GREEN is a text in json, tft.setTextColor() more than likely expects a numeric value (or RGB array). So you must find a way to translate.

Your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advice on) your project :wink: See About the Installation & Troubleshooting category.