How can I achive this

I am tranna make stats for my game and i want thme to look something like this but i dont know how

Screenshot 2025-03-11 154807

i want the text to be 2 colors one on top and on the bottom

Does anyone have the idea ( its probbably infront my eyes but i cant see it)

Nvm i am stupid i realized how to do it lol

You could’ve mentioned for other people here how to fix the issue, you know?

UIGradients

A far easier way to achieve this is to just put a semi-transparent black frame over the lower half.

Or that, but looks visually worse. Unsure why the developer of the game shown in the picture went for that.

? It’s pixelart, the black rectangle is a perfectly normal thing to do. UIGradients are too smooth for that visual style (edit: without bodging it by bringing the points very close… but why)

i told the same but in some cases its only the numbers like that without black layer on top