by @warkentien2
grabs a CSS gradient definition, and flips the % intervals. e.g.: 0%, 20%, 90% becomes 10%, 80%, 100%