Click or drag to resize
Ab4d.SharpEngine logo

Color3ConvertRgbToHsv(Color3) Method

Convert color from RGB to HSV color space. Returned hue values are in range from 0 to 360 (degrees), while saturation and value are in range from 0 to 1.

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public static Vector3 ConvertRgbToHsv(
	Color3 color
)

Parameters

color  Color3
Input RGB color.

Return Value

Vector3
Corresponding HSV color vector: (h, s, v).
See Also