Add the rainbow-mode package to your init.el and the proper config to add it to the processing mode and recognize the color
:
(use-package rainbow-mode
:ensure t
:config
(add-to-list 'rainbow-html-colors-major-mode-list 'processing-mode)
(add-to-list 'rainbow-html-rgb-colors-font-lock-keywords