SMS:Color Palette Files *.pal: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
Line 16: Line 16:
== Related Topics ==
== Related Topics ==
* [[SMS:File Formats|File Formats]]
* [[SMS:File Formats|File Formats]]
* [[SMS:User_Defined_Palettes|User Defined Palettes]]
* [[SMS:Color Options|Color Options Dialog]]
* [[SMS:Color_Options|Color Options Dialog]]
* [[SMS:New Palette|New Palette Dialog]]
* [[SMS:New_Palette|New Palette Dialog]]




{{Template:Navbox SMS}}
{{Template:Navbox SMS}}

Revision as of 16:23, 17 June 2013

Color Palette files hold user defined palette information. The process for creating a color palette is described in the User Defined Color Palettes article.

A sample palette file is shown below:

PALETTE                   File type identifier
2                         Number of Palettes
Palette1  3               Name of Palette; Number of colors in palette
0 0.0  1.0                Percentage (0) or Value (1); Min Range; Max Range
0.111111 0 0  0           1st color - Percentage; Red (0-255); Green; Blue
0.444444 45  136 45       2nd color
1.000000 255  255 255     3rd color
Palette2  5               Next Palette
...                       etc.

Related Topics