NanoXLSX Library Documentation
![]() | 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)

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: StyleStyle with background color definition
