Skip to content

Colour Maps

Peter Hunt edited this page Jun 10, 2025 · 2 revisions

There are dozens of colour maps already included, but custom ones are also supported.
This page gives information on how they can be created.

Format

Keywords can be combined together to create different effects.

Note: Currently this is using legacy code - the format may be subject to change in the future.

Single

  • Dozens of colours are defined as text, but hexadecimal can be used.
  • Supported hex formats: #RGB, #RGBA, #RRGGBB, #RRGGBBAA.
  • Examples: Red, Blue, #000, #FF0000

Mixed

  • Combine multiple colours to create a mix of them all.
  • Examples: BlueRed, BlackYellowGreen, Red#000

Modifications

  • Apply a modification to a colour.
  • Supported modifiers: Light, Dark, Transparent, Translucent, Opaque.
  • If multiple modifications are applied, they will work in reverse order.
  • Light and dark are not opposites so will not cancel each other out.
  • Examples: LightBlue, DarkLightYellow

Transitions

  • Use "To" to end the current colour mix and start a new one.
  • Examples: BlackToWhite, RedToGreenToBlue

Duplicates

  • Avoid having to type out multiple versions of the same word.
  • It has different effects based on its position.
  • A colour can be duplicated to increase its intensity in a mix. It duplicates with all the modifiers.
  • A modifier can be duplicated to increase its intensity on a colour.
  • A transition can be duplicated to increase its intensity on the overall result.
  • Examples:
    • Before colour: DarkDoubleRed evaluates as DarkRedDarkRed.
    • Before modifier: TripleDarkLightRed evaluates as DarkDarkDarkLightRed.
    • Before transition: BlueDoubleToDarkRed evaluates as BlueToDarkRedToDarkRed.

Examples

The preset colour maps are using this system. Here are a few of them:

  • Ice: BlackToDarkBlueToDarkBlueLightDarkCyanToLightBlueDarkCyanToWhite
  • Citrus: BlackToDoubleDarkGreyToDarkGreenToYellow
  • Jet: BlackToDarkBlueToBlueToCyanTripleBlueToCyanBlueToTripleCyanBlueToTripleCyanYellowToCyanYellowToCyanTripleYellowToYellowToOrangeToRedOrangeToRed

Clone this wiki locally