rgba_shade


Description:


public void rgba_shade (RGBA rgba, out RGBA dst, double k)

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.

Parameters:

rgba

a RGBA to shade

dst

the resulting shade

k

the factor by which to shade the input color


Namespace: Dazzle
Package: libdazzle-1.0