A generic, speed-optimised mapping from value to RGBA color supporting different wrapping and range truncation modes.
Flag fFixColorRange: specifies how the palette is mapped to signal values: