I have two shades of blue (# 1E95EF → # 1988DD), and you need to figure out the color conversion that happened to reproduce it in other colors in my palette (red, green, etc.).
I used combinations of darken()/lighten()both saturate()/desaturate()to view the transformation and got it pretty close:
desaturate(darken(#1E95EF, 4.5%), 8%); === #1A88DC
But I need to get it right, so the small mistakes that I make with percentage decimal points are not replicated in all colors. How can I pinpoint what happened?
Here is what I tried:
sassmeister gist
In this snippet, the corresponding classes in my example are: .ga-primaryand.ga-primary-hover
source
share