This provides an easy way to convert dynamic colors to html for use in tmp as tmp allows users to use tags to adjust aspects of the text. https://docs.unity3d.com/ScriptReference/ColorUtility.html