[syslinux] syslinux / pxelinux and color palette.

H. Peter Anvin hpa at zytor.com
Wed Mar 5 18:45:35 PST 2008


Knut Petter wrote:
> I'm trying to convert my image so that the colors will remain the same 
> after I do a clear screen. What I would like to make is a palette for 
> gimp which I then could use too convert my images, thus achieving my goal :)
> 
> I have found a list in which order the colors seems to be arranged.
> 
> 0 = black               8 = dark grey
> 1 = dark blue           9 = bright blue
> 2 = dark green          a = bright green
> 3 = dark cyan           b = bright cyan
> 4 = dark red            c = bright red
> 5 = dark purple         d = bright purple
> 6 = brown               e = yellow
> 7 = light grey          f = white
> 
> What I now need is the color code for each of them(at least I believe 
> this should work, though I'm not sure). If there is some more I should 
> be aware of when attempting to make custom graphics please let me know.
> 

It should probably be pointed out that that applies to text mode... for 
a plain VGA image, you can use any combination of 16 colors (although 
text will be printed using the above colors, by default in color index 7 
on color index 0.)

For vesamenu, you can use any colors you want; it is rendered as a 
24-bit RGB image.

	-hpa




More information about the Syslinux mailing list