Click or drag to resize
Ab4d.SharpEngine logo

Color3AdjustContrast(Color3, Single) Method

Adjusts the contrast of a color.

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

Parameters

value  Color3
The color whose contrast is to be adjusted.
contrast  Single
The amount by which to adjust the contrast.

Return Value

Color3
The adjusted color.
See Also