I need to recover all the values bewteen a given color and white. For example, from this blue (#4A90E2) until plain white (#ffffff), and get values dependeing on a certain number of elements.
If I have 6 elements, I would need 6 colors being those a percentage representing the 6 elements I have, every single one a bit lighter than the previous one as if you divide the spectrum between the two first colors in six equal parts.
Any ideas?
Thank you in advanced!