Jump to content
Software FX Community

Re: Palette


User (Legacy)

Recommended Posts

Carsten,

There may be a "proper" way to do this but I don't know it.

My solution was to investigate the registry. I found the palettes in:

[HKEY_LOCAL_MACHINE\Software\Software FX, Inc.\Chart FX\Palettes]

To discover the meaning of the registry entry I used Pedit (search for pedit.zip on www.shareware.com or similar site) to help me discover the hex values for the "standard" palette colors. Then I looked in the registry string to find similar values.

A chart created with the standard "Excel" color palette reported 98,34,68 for the maroon color and 98,98,FF for the light blue. I am not a hex expert, and allowing for some variation between software and my video adapter, I found the the patterns in the file. Further investigation shows all the palette colors follow in order. While I still haven't decoded the whole string, there's the header followed by colors separated by ",00,".

(I've added some spaces to highlight the first two colors of the palette below:

"Excel"=hex:c8,00,00,00,00,03,31,00,ff,ff,ff,00,99,99,ff,00, 99,33,66 ,00, ff,ff,cc ,00,....etc.

I've successfully made my own palettes by using Powerpoint to color some autoshape objects. I used Format Fill/More Colors/Custom to adjust the colors of an objec, save it as a bmp and open with Pedit to determine the hex values.

I exported the Palettes key and used Notepad to copy an existing palette, make changes and up-load.

I've included the "standard" palette entry below.

Steve

REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Software FX, Inc.\Chart FX\Palettes]

"Excel"=hex:c8,00,00,00,00,03,31,00,ff,ff,ff,00,99,99,ff,00,99,33,66,00,ff,ff,\

cc,00,cc,ff,ff,00,66,00,66,00,ff,80,80,00,00,66,cc,00,cc,cc,ff,00,00,00,80,\

00,ff,00,ff,00,ff,ff,00,00,00,ff,ff,00,80,00,80,00,80,00,00,00,00,80,80,00,\

00,00,ff,00,00,cc,ff,00,cc,ff,ff,00,cc,ff,cc,00,ff,ff,99,00,99,cc,ff,00,cc,\

ff,ff,00,cc,ff,cc,00,ff,ff,99,00,99,cc,ff,00,ff,99,cc,00,cc,99,ff,00,ff,cc,\

99,00,33,66,ff,00,33,cc,cc,00,99,cc,00,00,ff,cc,00,00,ff,99,00,00,ff,66,00,\

00,66,66,99,00,96,96,96,00,00,33,66,00,33,99,66,00,00,33,00,00,33,33,00,00,\

99,33,00,00,99,33,66,00,33,33,99,00,33,33,33,00,ff,00,00,00,00,ff,00,00,00,\

00,ff,00,00,00,00,00,10,00,40,00,00,00,01,00,00,01,02,00,00,01,03,00,00,01,\

04,00,00,01,05,00,00,01,06,00,00,01,07,00,00,01,08,00,00,01,09,00,00,01,0a,\

00,00,01,0b,00,00,01,0c,00,00,01,0d,00,00,01,0e,00,00,01,0f,00,00,01,10,00,\

00,01

Carsten Suurland <csu@it-optima.dk> wrote in message news:9ukyR4QZAHA.2916@sfxserver.softwarefx.com...

> How do I create my own palettes?

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...