07-13-2025, 05:53 PM
(07-13-2025, 04:06 PM)madscijr Wrote:(07-13-2025, 04:26 AM)SMcNeill Wrote: There is no palette in 32-bit screens. Every RGBA color is directly available for use.I was thinking about the color limitation with using a palette, and it occurred to me that unless the program is displaying photos, for the most part my progs only use 30 or so colors, so limited colors shouldn't be a problem. My only question is, with a palette, can you use alpha, or at least make one of the colors transparent? (I'm not at a PC right now where I can try that out.)
Sure you can. All the 32-bit values are available for you to use in a palette.
_PaletteColor 1, _RGBA32(128,0,0,128) <-- this would set the palette color 1 to have 128 alpha
There's no palette in 32-bit screens however, as all 32-bit colors are available. To use a palette, you'd need to be in 256 color mode (or less).

