Introduce constant COUNT_OF_SURROUNDING_PIXELS
Optimizing createFadingPalette
Further optimization
Some refactoring
Using new version of function...
Extracting variable randomColorIndex