How to recolor part of label text throut lv_set_label_static_text?


I see it can recolor part of label text through lv_label_set_text, but how to recolor the part of text through lv_label_set_static_text?

What MCU/Processor/Board and compiler are you using?

What do you want to achieve?

What have you tried so far?

Code to reproduce

Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.

The code block(s) should be formatted like:

/*You code here*/

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.

As the template says, please add a code snippet to see what have you tried so far.

I had sovled this problem, just add like the #0000ff xxx# , and it will work well.