VegaRise.NET
Back to Color

FromRGBMethod

Definition

Namespace
DOM.Elements.Graphics.Colors
Assembly
DOM.dll

Parses a string representation of the color and updates this instance accordingly.

FromRGB(string color)

Parameters

color
A hex string, preset name, theme name, or system color name to parse.

Remarks

The method automatically detects the color model: Hex strings (with optional ) are treated as RGB / ARGB. # Names matching a are treated as theme colors. ThemeColorValues Names matching a are treated as scheme colors. SchemeColorValues Names matching a are treated as preset colors. PresetColorValues Names matching a are treated as system colors. SystemColorValues

VegaRiseVDocs.NET

Reset Password

Enter your email and we'll send you a link to reset your password.

Remember your password? Sign in