Fix NPE on unknown color codes.

Fixed #103.