ConvertColorFromHex Method

Converts a hexadecimal string to a color.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static Color? ColorFromHex(
	string hex
)

Parameters

hex  String
Hexadecimal value to convert.

Return Value

NullableColor
Color with the value converted.

if the value cannot be converted.

See Also