Constructor DocColor
DocColor(ColorRgb)
Initializes a literal color with no theme reference.
public DocColor(ColorRgb rgb)
Parameters
DocColor(ColorRgb?, ThemeColorSlot?, byte?, byte?)
Initializes a color with an optional theme reference.
public DocColor(ColorRgb? rgb, ThemeColorSlot? themeSlot, byte? themeTint = null, byte? themeShade = null)
Parameters
rgbColorRgb?The literal fallback value written alongside the theme reference, or null.
themeSlotThemeColorSlot?The referenced theme slot, or null.
themeTintbyte?The tint transform byte (w:themeTint), or null.
themeShadebyte?The shade transform byte (w:themeShade), or null.