6364656667686970717273
String s = m.get(x, y); RangeColor r = colors.getColor(s); if (r == null) { setColor(new MatrixPoint(x, y), Color.BLACK.getRGB()); } else { setColor(new MatrixPoint(x, y), r.average()); } } } }