On 23 Apr,
usenet@garethlock.com wrote in message
<
8fbaa723-3ed9-46a9-9c39-71cfb9dc05d6@googlegroups.com>:
Ok... But need entries for all 256 colours,
The desktop pallette is 16 colours, regardless of screen mode.
or a program I can feed these 20 values into that will spit out RGB values for all colours displayed in !Paint colour selector.
Ah, so you /don't/ mean the desktop pallette.
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 -- which, unlike ArtWorks, are free online.
--
Steve Fryatt - Leeds, England
http://www.stevefryatt.org.uk/
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)