User Color Palettes


You can provide your own color palette for Turbo GPX color coding.

How to Use

  1. Open the Color tab in the Map window.
  2. Use the file-selection button under Palette to choose a JSON file.
  3. The palette is applied to the current display when loaded successfully.

Overview

File Format

Item Description
Format JSON
Encoding UTF-8 (with or without BOM)
Key Names Case-insensitive

Root Structure - Top-Level JSON Keys

Item Type Required Description
FileType String Yes File type identifier
Version Integer Yes Format version
Name String Yes Palette name
Colors Array Yes Ordered array of color codes

Field Specifications

Item Type Required Value / Description Notes
FileType String Yes "TurboGPX.Palette" Fixed value
Version Integer Yes 1
Name String Yes Palette display name Example: Default 32
Colors Array Yes Ordered color codes Position in the array determines the color index

Colors Array Elements

Item Type Required Description
[0] to [n] String Yes Color code in #RRGGBB format

Color Code Format

Item Type Required Description
Color String Yes Hexadecimal RGB string
Format String Yes #RRGGBB
Example String Yes #FF0000

Palette Example

{
  "FileType": "TurboGPX.Palette",
  "Version": 1,
  "Name": "Default 32",
  "Colors": [
    "#000000",
    "#808080",
    "#C0C0C0",
    "#FFFFFF",
    "#800000",
    "#FF0000",
    "#808000",
    "#FFFF00",
    "#008000",
    "#00FF00",
    "#008080",
    "#00FFFF",
    "#000080",
    "#0000FF",
    "#800080",
    "#FF00FF",
    "#804000",
    "#FF8000",
    "#408000",
    "#80FF00",
    "#008040",
    "#00FF80",
    "#004080",
    "#0080FF",
    "#400080",
    "#8000FF",
    "#804040",
    "#FF8080",
    "#408080",
    "#80FFFF",
    "#404040",
    "#C080FF"
  ]
}
inserted by FC2 system