Added functions to convert hex colors to RGB colors