Creates a shade of the color rgba
by multiplying its saturation and lightness by k
.
Values of k
greater than 1 will make the color brighter, while values less than 1 will make it darker. The alpha value will
remain the same.
rgba |
a RGBA to shade |
dst |
the resulting shade |
k |
the factor by which to shade the input color |