*colorForCode now handle 24-bit case
added 24-bit color support to _drawCharacter
extra credit :)