Just use `font-lock-unfontify-region'
https://www.gnu.org/software/emacs/manual/html_node/elisp/Ot...
Thanks for working on this! I didn't send a patch because I have terrible colour sense and haven't bothered checking for light backgrounds. I figured you knew about defface and already had plans for that at some point. I haven't played with faces much myself, so it was more of an excuse to share what I was learning with people. =) Looking forward to the upstream-colorized version!
Why? Scoring. 2048 has a score that's also a number. So if you colorize only based on keywords, you'll color the score too. And that's bad.
Edit: I'd happily take patches, suggestions, or pointers to documentation on how to do the colorization properly. Email in profile.