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

VegaRise.NET

Sign In

Welcome back. Please sign in to your account.

Forgot password?
or

Don't have an account? Create an account

By signing in, you agree to our Terms of Service and Privacy Policy.