Table of Contents

Class Colors

Namespace
SheetStream.Styles
Assembly
SheetStream.dll

Helpers for building colour strings accepted by the style options.

public static class Colors
Inheritance
Colors
Inherited Members

Fields

Black

Pure black.

public const string Black = "#000000"

Field Value

string

ExcelBlue

Excel's default header blue (the "Accent 1" of the Office theme).

public const string ExcelBlue = "#4F81BD"

Field Value

string

LightGray

Light grey used for zebra striping.

public const string LightGray = "#F2F2F2"

Field Value

string

White

Pure white.

public const string White = "#FFFFFF"

Field Value

string

Methods

Rgb(byte, byte, byte)

Builds an opaque #RRGGBB colour from byte components.

public static string Rgb(byte red, byte green, byte blue)

Parameters

red byte
green byte
blue byte

Returns

string