RgbColor.TryParse method

Version 1.0.2
.NET Framework 4.7
Namespace Skybrud.Colors
Assembly Skybrud.Colors.dll

TryParse(string, out RgbColor)

Static

Attempts to parse the specified str into an instance of RgbColor.

public static bool TryParse(string str, RgbColor color)

Parameters

str String

The input string to be parsed.

color RgbColor

An instance of RgbColor.

Returns

true if str was converted successfully; otherwise, false.