Macros for getting individual channels from an integer colour