04-07-2016, 05:43 PM
(04-06-2016, 12:31 AM)Raccoon Sam Wrote: Also, can I get a source on the "complete list of values for 15-bit colors"?
Midday called on me to answer this one. It's just the values you get when you convert 5-bit values to 8-bit values.
15-bit RGB allocates 5 bits to each color component, so each component can be given integer values from 0 to 31.
Whereas, of course, today's standard is 24-bit RGB, where each color component gets 8 bits, which encompass integer values from 0 to 255.
Converting back and forth is just a matter of some brief math.
Converting 5-bit values to 8-bit values
Converting 8-bit values to 5-bit values
Or, applied more generally:
Converting a-bit values to b-bit values