Style.BasicStyles.ColorizedBackground Method

NanoXLSX

NanoXLSX

StyleBasicStylesColorizedBackground Method

Gets a style to colorize the background of a cell

Namespace:  NanoXLSX.Style
Assembly:  NanoXLSX (in NanoXLSX.dll) Version: 1.2.3.0 (1.2.3)
Syntax
C#
public static Style ColorizedBackground(
	string rgb
)

Parameters

rgb
Type: SystemString
RGB code in hex format (e.g. FF00AC). Alpha will be set to full opacity (FF)

Return Value

Type: Style
Style with background color definition
See Also