stock GetHTMLColor(hex[]) { if(strlen(hex) != 10) return print("Invalid hex code"); new html[7]; strmid(html,hex,2,8); return html; }