Click the green flag. Need to modify this to preserve MYK components too, for a true posterization effect... (See https://en.wikipedia.org/wiki/Posterization for description and https://www.google.com/search?biw=1242&bih=619&tbm=isch&q=posterization+art&sa=X&dpr=1.1 for examples)
I just inverted the image that was created as described below: CHOOPER's NOTES: Thanks to @PullJosh for the original framework Thanks to @BookOwl for the inspiration / basic idea How it works: 1) It gets the weighted brightness of each pixel using @BookOwl's formula 2) It reduces the brightness information by dividing by 255 and multiplying by the length of the thresholds list and rounding that value. 3) We then lookup the new brightness in the thresholds list * 4) Using my HSB to RGB converter, we take a predefined hue (13) and the new brightness as well as a saturation of 1 to create the new color. * which means that this can be used to create weighted brightness values in the end image too