Skip to content

PaletteMode

Namespace Nfty.Core.Imaging in assembly Nfty.Core.

public enum PaletteMode

Which ramp a Palette's ten slots currently offer. The mode is what the palette OFFERS, never what the artwork is. Swapping it hands the author a different set of colors to pick from and changes no pixel that has already been painted — recoloring existing art through a ramp is a separate feature with its own mapping curve, preview and undo entry, and is deliberately not this.

Values

  • Grayscale = 0 - Ten ascending grays — what a value-map is authored in, since a Dynamic or Static layer takes its lightness from the gray and its hue and saturation from the colorization.
  • Color = 1 - Ten hues around the wheel — full-color painting, which only ever saves as a Custom ingredient.