added in methods for converting hext to colour