SPTheme.GetThemeShadeByName method

SharePoint 2013

Gets a theme shade by name

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public Color GetThemeShadeByName(
	string colorName
)

Parameters

colorName
Type: System.String

Return value

Type: System.Drawing.Color
A color representing the theme shade.

Implements

ISPTheme.GetThemeShadeByName(String)
Show: