If you want to consider changing background color that takes into consideration the theme background (e.g. dark or light themes), this code (see it on GitHub)��can adapt to it:

normalColor := Smalltalk ui theme backgroundColor.
green := normalColor mixed: 0.8 with: Color green.
red := normalColor mixed: 0.8 with: Color red.

I didn't really test it with all possibilities of themes, however.��

On Thu, 19 Dec 2019 at 12:58, Hilaire <hilaire@drgeo.eu> wrote:
You should use TextMorph.

What about:

|| t |
t := TextMorph new.
t backgroundColor: Color blue.
t contents: 'Hello'.
t lock.
t openInWorld||
|

Le 19/12/2019 �� 15:28, Kasper Osterbye a ��crit��:
> I was struggling for weeks (not every day, but still) to find out how
> to change the system to be able to give background color to text.��
>
--
Dr. Geo
http://drgeo.eu





--
Christopher Fuhrman, P.Eng., PhD
Professeur au D��partement de g��nie logiciel et des technologies de l'information
��TS (��cole de technologie sup��rieure)