Converts a firmware colour value into its equivalent hardware one.
u8 cpct_getHWColour (u16 firmware_colour)
| (2B HL) firmware_colour | [0-26] Firmware colour value to be converted (Similar to BASIC’s INK value) | 
call cpct_getHWColour_asm
| <u8> | [0-31] Hardware colour value corresponding to firmware_colour provided. | 
Uses the firmware_colour as index in a conversion table to get its equivalent hardware value. You can find this equivalences in the table 1 of the cpct_setPalette explanation.
HL, DE
6 bytes
    Case   | microSecs(us) | CPU Cycles
-----------------------------------------
    Any    |      11       |     44
-----------------------------------------