Can anyone either provide me with or explain how to extract the RGB
values for the default "desktop" palette in 256 colour modes.
Trying to deal with Sprite files on non native hardware...
Thanks.
Can anyone either provide me with or explain how to extract the RGB
values for the default "desktop" palette in 256 colour modes.
Ok... But need entries for all 256 colours,
or a program I can feed these 20 values into that will spit out RGB values for all colours displayed in !Paint colour selector.
The target for this would be Linux or possibly Windows. So need to know
how to "expand"...
My memory of this is a bit rusty, but isn't the colour number from 0 to 255 composed as %BBGGRRTT, giving two bits each to blue, green, red and "tint".
Then your three colours are formed by rearranging four bits each:
red% = %RRTT0000
green% = %GGTT0000
blue% = %BBTT0000
I'm fairly sure that you'll find it documented in the PRMs
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 164:09:02 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,517 |