# Ribbon.Colors Class

> The Ribbon.Colors class gets, sets or resets the display colors of a Windows Forms Ribbon control. By default the display colors depend on sytem colors. With this class all colors can be individually designed.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 24.0
- **Namespace:** `TXTextControl.Windows.Forms.Ribbon`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Windows.Forms.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.Windows.Forms.Ribbon > Ribbon.Colors Class
- **1251 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon-colors/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon-colors/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon-colors/llms-full.txt

---

### Description

The Ribbon.Colors class gets, sets or resets the display colors of a Windows Forms [Ribbon](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon/llms-full.txt) control. By default the display colors depend on sytem colors. With this class all colors can be individually designed.

### Syntax

```csharp
public sealed class Ribbon.Colors
```

```vbnet
Public NotInheritable Class Ribbon.Colors
```

### Examples

The following example creates a Colors instance and configures its tab color setting for a document workflow.

```csharp
TXTextControl.Windows.Forms.Ribbon.Ribbon.Colors colors = new();
colors.TabColor = System.Drawing.Color.LightSteelBlue;
```

```vbnet
Dim colors As New TXTextControl.Windows.Forms.Ribbon.Ribbon.Colors()
colors.TabColor = System.Drawing.Color.LightSteelBlue
```

---

## In This Section

- [Ribbon.Colors.ApplicationMenuColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon-colors/applicationmenucolor-property/llms-full.txt): Gets or sets the background color of a ribbon's application menu.
- [Ribbon.Colors.ApplicationMenuTabColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon-colors/applicationmenutabcolor-property/llms-full.txt): Gets or sets the color of a ribbon's first tab, which opens the application menu.
- [Ribbon.Colors.ApplicationMenuTabHighlightColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon-colors/applicationmenutabhighlightcolor-property/llms-full.txt): Gets or sets the highlight color of a ribbon's first tab which is used, when the mouse pointer is moved over it.
- [Ribbon.Colors Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon-colors/constructor/llms-full.txt): Initializes a new instance of the Ribbon.Colors class. After creating the object with this constuctor, individual colors can be set. If the Colors object is assigned to the Windows.Forms.Ribbon.Ribbon.DisplayColors property, non-set colors are reset to their system dependent default values.
- [Ribbon.Colors.HighlightTabColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon-colors/highlighttabcolor-property/llms-full.txt): Gets or sets the highlight color of a ribbon tab which is used when a tab is selected.
- [Ribbon.Colors.MenuColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon-colors/menucolor-property/llms-full.txt): Gets or sets the menu color of a ribbon.
- [Ribbon.Colors.ResetApplicationMenuColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon-colors/resetapplicationmenucolor-method/llms-full.txt): Resets the ribbon's ApplicationMenuColor to its system dependent default value.
- [Ribbon.Colors.ResetApplicationMenuTabColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon-colors/resetapplicationmenutabcolor-method/llms-full.txt): Resets the ribbon's ApplicationMenuTabColor to its system dependent default value.
- [Ribbon.Colors.ResetApplicationMenuTabHighlightColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon-colors/resetapplicationmenutabhighlightcolor-method/llms-full.txt): Resets the ribbon's ApplicationMenuTabHighlightColor to its system dependent default value.
- [Ribbon.Colors.ResetHighlightTabColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon-colors/resethighlighttabcolor-method/llms-full.txt): Resets the ribbon's HighlightTabColor to its system dependent default value.
- [Ribbon.Colors.ResetMenuColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon-colors/resetmenucolor-method/llms-full.txt): Resets the ribbon's MenuColor to its system dependent default value.
- [Ribbon.Colors.ResetTabColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon-colors/resettabcolor-method/llms-full.txt): Resets the ribbon's TabColor to its system dependent default value.
- [Ribbon.Colors.TabColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon-colors/tabcolor-property/llms-full.txt): Gets or sets the background color of a ribbon tab.

---

## Nearby

- **Previous:** [Ribbon.ApplicationMenuItems Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon/applicationmenuitems-property/llms-full.txt)
- **Next:** [Ribbon.Colors.ApplicationMenuColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon-colors/applicationmenucolor-property/llms-full.txt)
