GemBox.Spreadsheet
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    ColorName Enum

    Namespace:
    GemBox.Spreadsheet
    Assembly:
    GemBox.Spreadsheet.dll

    Represents a color name of colors available in MS Excel user interface.

    • C#
    • VB.NET
    public enum ColorName
    Public Enum ColorName

    Fields

    Accent1

    'Accent 1' theme color.

    Accent1Darker25Pct

    'Accent 1, Darker 25%' theme color.

    Accent1Darker50Pct

    'Accent 1, Darker 50%' theme color.

    Accent1Lighter40Pct

    'Accent 1, Lighter 40%' theme color.

    Accent1Lighter60Pct

    'Accent 1, Lighter 60%' theme color.

    Accent1Lighter80Pct

    'Accent 1, Lighter 80%' theme color.

    Accent2

    'Accent 2' theme color.

    Accent2Darker25Pct

    'Accent 2, Darker 25%' theme color.

    Accent2Darker50Pct

    'Accent 2, Darker 50%' theme color.

    Accent2Lighter40Pct

    'Accent 2, Lighter 40%' theme color.

    Accent2Lighter60Pct

    'Accent 2, Lighter 60%' theme color.

    Accent2Lighter80Pct

    'Accent 2, Lighter 80%' theme color.

    Accent3

    'Accent 3' theme color.

    Accent3Darker25Pct

    'Accent 3, Darker 25%' theme color.

    Accent3Darker50Pct

    'Accent 3, Darker 50%' theme color.

    Accent3Lighter40Pct

    'Accent 3, Lighter 40%' theme color.

    Accent3Lighter60Pct

    'Accent 3, Lighter 60%' theme color.

    Accent3Lighter80Pct

    'Accent 3, Lighter 80%' theme color.

    Accent4

    'Accent 4' theme color.

    Accent4Darker25Pct

    'Accent 4, Darker 25%' theme color.

    Accent4Darker50Pct

    'Accent 4, Darker 50%' theme color.

    Accent4Lighter40Pct

    'Accent 4, Lighter 40%' theme color.

    Accent4Lighter60Pct

    'Accent 4, Lighter 60%' theme color.

    Accent4Lighter80Pct

    'Accent 4, Lighter 80%' theme color.

    Accent5

    'Accent 5' theme color.

    Accent5Darker25Pct

    'Accent 5, Darker 25%' theme color.

    Accent5Darker50Pct

    'Accent 5, Darker 50%' theme color.

    Accent5Lighter40Pct

    'Accent 5, Lighter 40%' theme color.

    Accent5Lighter60Pct

    'Accent 5, Lighter 60%' theme color.

    Accent5Lighter80Pct

    'Accent 5, Lighter 80%' theme color.

    Accent6

    'Accent 6' theme color.

    Accent6Darker25Pct

    'Accent 6, Darker 25%' theme color.

    Accent6Darker50Pct

    'Accent 6, Darker 50%' theme color.

    Accent6Lighter40Pct

    'Accent 6, Lighter 40%' theme color.

    Accent6Lighter60Pct

    'Accent 6, Lighter 60%' theme color.

    Accent6Lighter80Pct

    'Accent 6, Lighter 80%' theme color.

    Automatic

    Automatic color.

    For Color, PatternForegroundColor and LineColor properties, automatic color is equal to System.Drawing.SystemColors.WindowText.

    For PatternBackgroundColor, GradientColor1, GradientColor2 and TabColor properties, automatic color is equal to System.Drawing.SystemColors.Window.

    Background1

    'Background 1' theme color.

    Background1Darker15Pct

    'Background 1, Darker 15%' theme color.

    Background1Darker25Pct

    'Background 1, Darker 25%' theme color.

    Background1Darker35Pct

    'Background 1, Darker 35%' theme color.

    Background1Darker50Pct

    'Background 1, Darker 50%' theme color.

    Background1Darker5Pct

    'Background 1, Darker 5%' theme color.

    Background2

    'Background 2' theme color.

    Background2Darker10Pct

    'Background 2, Darker 10%' theme color.

    Background2Darker25Pct

    'Background 2, Darker 25%' theme color.

    Background2Darker50Pct

    'Background 2, Darker 50%' theme color.

    Background2Darker75Pct

    'Background 2, Darker 75%' theme color.

    Background2Darker90Pct

    'Background 2, Darker 90%' theme color.

    Black

    'Black' standard color (R = 0, G = 0, B = 0, ARGB = 0xFF000000).

    Blue

    'Blue' standard color (R = 0, G = 112, B = 192, ARGB = 0xFF0070C0).

    DarkBlue

    'Dark Blue' standard color (R = 0, G = 32, B = 96, ARGB = 0xFF002060).

    DarkRed

    'Dark Red' standard color (R = 192, G = 0, B = 0, ARGB = 0xFFC00000).

    Empty

    No color.

    Green

    'Green' standard color (R = 0, G = 176, B = 80, ARGB = 0xFF00B050).

    LightBlue

    'Light Blue' standard color (R = 0, G = 176, B = 240, ARGB = 0xFF00B0F0).

    LightGreen

    'Light Green' standard color (R = 146, G = 208, B = 80, ARGB = 0xFF92D050).

    Orange

    'Orange' standard color (R = 255, G = 192, B = 0, ARGB = 0xFFFFC000).

    Purple

    'Purple' standard color (R = 112, G = 48, B = 160, ARGB = 0xFF7030A0).

    Red

    'Red' standard color (R = 255, G = 0, B = 0, ARGB = 0xFFFF0000).

    Text1

    'Text 1' theme color.

    Text1Lighter15Pct

    'Text 1, Lighter 15%' theme color.

    Text1Lighter25Pct

    'Text 1, Lighter 25%' theme color.

    Text1Lighter35Pct

    'Text 1, Lighter 35%' theme color.

    Text1Lighter50Pct

    'Text 1, Lighter 50%' theme color.

    Text1Lighter5Pct

    'Text 1, Lighter 5%' theme color.

    Text2

    'Text 2' theme color.

    Text2Darker25Pct

    'Text 2, Darker 25%' theme color.

    Text2Darker50Pct

    'Text 2, Darker 50%' theme color.

    Text2Lighter40Pct

    'Text 2, Lighter 40%' theme color.

    Text2Lighter60Pct

    'Text 2, Lighter 60%' theme color.

    Text2Lighter80Pct

    'Text 2, Lighter 80%' theme color.

    White

    'White' standard color (R = 255, G = 255, B = 255, ARGB = 0xFFFFFFFF).

    Yellow

    'Yellow' standard color (R = 255, G = 255, B = 0, ARGB = 0xFFFFFF00).

    See Also
    Color
    LineColor
    PatternForegroundColor
    PatternBackgroundColor
    GradientColor1
    GradientColor2
    TabColor
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.