When defining a new face, how to blend/interpolate between two existing faces colors?
For example - mix the colors foreground
of default and the background
of the error face with a factor 0.0 being all of the first color, 1.0 returning all of the second.
color-gradient
which can construct multiple in-between steps. For example if you wanted a color 0.1 from the foreground / 0.9 from the background you could call(color-gradient foreground background 9)
and it would return the 9 in-between colors at 0.1, 0.2, …, 0.9.