I´m looking for an quick and easy way to change the color mapping of any project. So I thought it might be clever to just rewrite the CHSV function and link it to different color tables/algorythms. Where do I find the CHSV function?
I think what your looking for might be in here: https://github.com/FastLED/FastLED/blob/master/hsv2rgb.cpp
Funny you should mention that, @Mark_Kriegsman has been playing around with palettes (I’ve been too neck deep in a deadlined project to take a look at it yet, though I want to) - also, I wouldn’t recommend playing in the guts of CHSV (just saying 
Before you tear too deeply into that, there’s some new code coming, too, that’s not yet checked into github. Stay tuned a few days.
Yep: palettes are coming.
You are, of course, also welcome to re-write, clone, modify, and tinker with everything that’s already there!
You might also be interested in the “HeatColor” function, since that takes a single uint8_t argument, and maps it to a CRGB color.
I used the HeatColor function as a start for my own palette function, just expanded the parameters by a new one to switch palettes. (see the function ColorMap at http://github.com/fuse314/gmaLightMusicHat inside the LEDColorMgt.cpp file)