Click or drag to resize
Ab4d.SharpEngine logo

Color4AdjustSaturation(Color4, Single) Method

Adjusts the saturation of a color.

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public static Color4 AdjustSaturation(
	 in Color4 value,
	float saturation
)

Parameters

value  Color4
The color whose saturation is to be adjusted.
saturation  Single
The amount by which to adjust the saturation.

Return Value

Color4
The adjusted color.
See Also