Get cell colour
Return a cell's fill colour or font colour as a hex value such as #FFC000, or as red, green and blue numbers.
Command in the Excel toolkit · id ooa.excel/get_cell_color · 5 inputs, 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Cell | String | No | Cell address; the active cell when empty. | |
| Target | String | No | fill | fill for the background, font for the text colour. |
| Sheet | String | No | Sheet name; active sheet when empty. | |
| Session | String | No | excel | Workbook session. |
| Format | String | No | hex | hex gives #RRGGBB; rgb gives three numbers separated by commas, e.g. 255,192,0. |
Outputs
| Output | Type | What it is |
|---|---|---|
| color | String | Colour as hex or as R,G,B; empty when the cell has no colour set. |