Added support for 24Bit ANSi codes.