operator + method

PaletteColors operator +(
  1. int value
)

Operator overload to add an integer value to a PaletteColor.

Implementation

PaletteColors operator +(int value) => fromIndex(value);