Fixed NPE in ColorFormatter.