< index < 2. Console < 2.2 Drawing on the root console | ===================================== Reading the foreground color of a cell ===================================== |

    C++ : TCODColor TCODConsole::getFore(int x, int y) const
    C   : TCOD_color_t TCOD_console_get_fore(TCOD_console_t con,int x, int y)
    Py  : console_get_fore(con,x,y)

This function returns the current foreground color of a cell.

Parameter | Description
--- | ---
con | In the C version, the offscreen console handler or NULL for the root console.
x,y | Coordinates of the cell in the console. 0 <= x < console width 0 <= y < console height