Converts each pixel to HSL, sets lightness to 50, then converts back to RGB. Basically this is the colors without lightness data
NPR scripts and stuff by @PullJosh and @Layzej HSL converter scripts by @BoBoBoBobTrOlL If you care, the reason I did this is because I've been imagining a lossy compression algorithm/file format that stores lightness data as a grayscale image and color data separately with a minimal palette, maybe as a vector image. From my tests most photographs are indistinguishable with as few as 30-80 colors.