Multicolor label possible?

I was wondering.
For an app I have to make a lot of word cards where each character is in its own container with its own color. (see below)

Scherm­afbeelding 2025-03-05 om 12.34.24

Is there a way to do this with a label somehow ?
Or do I really have to make each character a separate rectangle with some text in it ?

1 think I could do is make a container and then add all characters 1 by 1 and each character as a label, but maybe there are better tricks to do it?

Yes - there is LabelLetters and LabelWords.

https://zimjs.com/docs.html?item=LabelLetters
https://zimjs.com/docs.html?item=LabelWords