Skip to main content
Associate
July 30, 2025
Question

touchgfx4.25.0 show color wrong

  • July 30, 2025
  • 12 replies
  • 1054 views

Honeyview_eQckB7gk7X.jpg

It should be purple, but it shows up as blue. background is svg picture is normal.

 

12 replies

youxueAuthor
Associate
September 30, 2025

I'm sure the issue lies in the code generated by TouchGFX or STM32CubeMX, because the problem persists even after I replaced it with a new screen. However, projects developed with other tools have normal screen colors.

Osman SOYKURT
Technical Moderator
October 9, 2025

Hello @youxue 

Are you sure you're using the same color format with the other tool? 
I can see from your ioc file that you're using an LTDC display. So I would suggest you to follow the procedure described in this article to show just 1 solid color on your screen , without using TouchGFX. This way we could say or not if the issue is coming from TouchGFX or CubeMX as you claim. 

Osman SOYKURTST Software Developer | TouchGFX