Colors to shorthand hexadecimal