extra functions for working with hex colors