Color.

TryParse(ReadOnlySpan<char>, Color) Method

Summary

Parses a color string.
Namespace
Avalonia.Media
Containing Type
Color

Syntax

public static bool TryParse(ReadOnlySpan<char> s, out Color color)

Parameters

Name Type Description
s ReadOnlySpan<char> The color string.
color Color The parsed color

Return Value

Type Description
bool The status of the operation.