XL.Sheet.GetTabColorRGB
-----------------------

Queries the sheet's tab RGB color.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [XL](component_XL.md) | [13.1](newinversion131.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "XL.Sheet.GetTabColorRGB"; BookRef; SheetIndex ) 

**MBS**( **"XL.Sheet.GetTabColorRGB";** /\* Queries the sheet's tab RGB color. \*/  
**$BookRef**; /\* The reference number for the workbook.e.g. $ref \*/   
**$SheetIndex**) /\* The index of the sheet. This number ranges from 0 to [XL.Book.SheetCount](XLBookSheetCount.md)-1.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| BookRef | The reference number for the workbook. | $ref |
| SheetIndex | The index of the sheet. This number ranges from 0 to [XL.Book.SheetCount](XLBookSheetCount.md)-1. | 0 |

### Result

Returns list or error.

### Description

Queries the sheet's tab RGB color.  
Returns three values as list with red, green and blue values.  
### See also

- [XL.Book.SheetCount](XLBookSheetCount.md)
- [XL.Sheet.GetTabColor](XLSheetGetTabColor.md)
- [XL.Sheet.SetTabColor](XLSheetSetTabColor.md)
- [XL.Sheet.SetTabColorRGB](XLSheetSetTabColorRGB.md)

### Release notes

- **Version 13.1**
    - Added [XL.Book.IsWriteProtected](https://www.mbsplugins.eu/XLBookIsWriteProtected.shtml), [XL.Sheet.DefaultRowHeight](https://www.mbsplugins.eu/XLSheetDefaultRowHeight.shtml), [XL.Sheet.GetTabColor](https://www.mbsplugins.eu/XLSheetGetTabColor.shtml), [XL.Sheet.GetTabColorRGB](https://www.mbsplugins.eu/XLSheetGetTabColorRGB.shtml) and [XL.Sheet.SetDefaultRowHeight](https://www.mbsplugins.eu/XLSheetSetDefaultRowHeight.shtml) functions.

### Blog Entries

- [MBS FileMaker Plugin, version 13.1pr2](https://www.mbsplugins.de/archive/2023-02-06/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 3th February 2023 , last changed 3th February 2023

  
[XL.Sheet.GetTabColor](XLSheetGetTabColor.md) - [XL.Sheet.GetText](XLSheetGetText.md)

[HTML Version](XLSheetGetTabColorRGB.shtml)