npc_color_palatte color codes?

Hi I'm new to the game and I'm spending more time modding than playing!
Does anybody know how to read/convert the colors in npc_color_palatte.xtbl I'm not familiar with this format.
Eg.
Red=0.313989
Green=0.337164
Blue=0.351533
Is it possible to convert it to HTML Hex to get into Gimp and also do the reverse to get a color into this format.
 
Hi I'm new to the game and I'm spending more time modding than playing!

I don't know the translation of the color codes, but your comment above did make make me smile. :)
 
Cheers IdolNinja, been digging around this site for about a week now lots of good stuff.
Anyway did some experimenting if it helps anyone else, it turns out its just a simple fraction of each color channel.
Using 0,0,0 is black and 1,1,1 is white so multiplying the value by 255 will get the typical RGB values. And divide by 255 any RGB value to get back into the palatte format.
 
If you would, please post that as a new thread in the Guides and Tutorials subforum for future reference. Thanks!
 
Back
Top