Improved color generation function
Cache seed colors
Merge pull request #2226 from rashidkpc/fix/color-generator

Improved color generation function