Simple text editor for Linux with support for coloring individual words
I'm looking for a text processor that can color specific words, just like Microsoft Wordpad can (select a word -> click the color button -> choose a color), but for a GNU/Linux system.
I have considered Libreoffice but it is too big and requires installing 60 dependencies. Since all I want is to color words — no font changing, no inserting images, no fancy layouts and whatnot —, it's just overkill. Similarly with Latex.
Vim can color words matching patterns, but not individual words. For example,
:match Label /codidact/ would color every occurrence of "codidact".
Any suggestion of a simple word processor with coloring support, TUI (preferred) or GUI, is appreciated.