Limit output to a range of 32,768 colors?
I'm not quite sure how to explain this properly, but I'll try my best - feel free to ask follow-up questions!
For the sake of retro 2D art, I'm trying to convert various full-color resources into a particular color space.
Effectively, there are only 32 possible values each for Red, Green, and Blue.
Those values are as follows:
0, 8, 16, 24, 32, 40, 48, 56,
64, 72, 80, 88, 96, 104, 112, 120,
128, 136, 144, 152, 160, 168, 176, 184,
192, 200, 208, 216, 224, 232, 240, and 248.
You can also look at it as ranging from 0-31, multiplied by 8.
In hex, you could represent any one value as xy, where x is a value from 0-f, and y is only ever 0 or 8.
Hopefully one of those explanations made sense, and we can move on to what I'm trying to do.
Also, if there is a standardized name for this, I would love to know!
My goal is to take an image, and convert every RGB value in the image to fit within the above-described color space, via rounding.
So for example, if I have a pixel in a shade of purple using the values 57, 21, 82, it should round those values up or down to 56, 24, 80.
Does anyone know if there is a setting or filter in Photoshop, or perhaps an external tool to achieve this?
