Table of Contents

Method Parse

Namespace
Gamelogic.Colors
Assembly
Gamelogic.Colors.dll

Parse(string)

Parses a Color from a string.

public static Color Parse(string colorString)

Parameters

colorString string

The string to parse.

Returns

Color

The color that the string represents.

Remarks

See TryParse(string, out Color)for a description of the supported color formats.

Exceptions

FormatException

the string is not in a valid format.