Colors

Available colormaps (see below)

  color.map.default 1
  color.map.special 1
  color.map.volume1 1
  color.map.volume2 1
  color.map.chart1 1
  color.map.chart2 1
  color.map.warn 1
  color.map.art 1
  color.map.topo 1
   1 10 // 10 interpolated steps

Overwrite default alpha values

  color.alpha.bw // transparent to opaque
  color.alpha.wb // opaque to transparent
  color.alpha.black // transparent
  color.alpha.gray // half transparent
  color.alpha.white // opaque

Get color values (negative – inverse; 0 – number of basic colors)

  c := color.getrgb 1 // <255,255,255>
  c := color.getrgb 100 <1,100> // <255,255,255> from range <1,100>
  c := color.getrgb.hash 1 // #FFFFFF
  c := color.getrgb.hash 100 <1,100> // #FFFFFF from range <1,100>
  c := color.getrgba 1 // <255,255,255,255>
  c := color.getrgba 100 <1,100> // <255,255,255,255> from range <1,100>
  c := color.getrgba.hash 1 // #FFFFFFFF
  c := color.getrgba.hash 100 <1,100> // #FFFFFFFF from range <1,100>


Colormaps


More informations:

Special (Viridis)

Chart (Brewer)