This is a simple ComfyUI node that will take in a string of 'color' (i.e. 'blue') and output a hex color format.
https://github.com/kasukanra/ComfyUI_StringToHex
git clone https://github.com/kasukanra/ComfyUI_StringToHex
comfy node install comfyui_stringtohex