# Get Cell Color

Get the color of a specific Excel cell and stores it in a variable.

{% hint style="info" %}
This activity can only be used after the [Open Excel File activity.](https://docs.visualyze.ai/rpa-studio/microsoft-office/excel/open-excel-file)
{% endhint %}

### Input

* **Input** : [`ExcelHandle Variable`](https://docs.visualyze.ai/getting-started/rpa-studio/variables#excelhandle) ![](https://1935494318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M927xRZSEM57y2sBcm3%2Fuploads%2Fgit-blob-20e90e25afa096ee0833e242a7763776d12b4591%2Fimage.png?alt=media)\
  A variable name that references the opened excel file handle.
* **Sheet Name** : [`String Argument`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#string)![](https://1935494318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M927xRZSEM57y2sBcm3%2Fuploads%2Fgit-blob-20e90e25afa096ee0833e242a7763776d12b4591%2Fimage.png?alt=media)\
  The name of the sheet in which the cell color is to get.
* **Cell** : [`String Argument`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#types-of-arguments)![](https://1935494318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M927xRZSEM57y2sBcm3%2Fuploads%2Fgit-blob-20e90e25afa096ee0833e242a7763776d12b4591%2Fimage.png?alt=media)\
  The name of the cell in which the cell color is to get.

{% hint style="info" %}
The starting cell is specified in `A1` format. `A1` will select first cell from first row.
{% endhint %}

### Output

* **Output** : [`Color Variable`](https://docs.visualyze.ai/getting-started/rpa-studio/variables#color)\
  The variable that stores the color extracted from the specified Excel Cell.
