Exemplo n.º 1
0
        private static TileColor Desaturate(TileColor color, float slide)
        {
            ColorMatrix colorMatrix = ColorMatrix.Saturate(slide);

            return(new TileColor(colorMatrix.Transform(color.Background), colorMatrix.Transform(color.Foreground)));
        }