!7 static RGB destColor = rgb("#E6ED2B"); p { RGBImage img = shootScreen(); int w = img.getWidth(), h = img.getHeight(); BWImage bw = new BWImage(w, h); float contrast = 2f; int destColorInt = destColor.getInt(); for y to h: for x to w: bw.setPixel(x, y, rgbDiff(img.getInt(x, y), destColorInt)*contrast); showBWImage(bw); }