changed colorLibrary for defining color gradients