# GetTextCelColor

Retrieves background and foreground colors when cel is drawn.

### Synopsis

`void GetTextCelColor (TextCel *tCel, int32 *bgColor,int32 *fgColor0)`

### Description

Retrieves the background and foreground colors used when the cel is drawn.

### Arguments

t
  Pointer to a TextCel structure.

bgColor
  Pointer to a variable to receive the background color value. May be NULL.

fgColor
  Pointer to a variable to receive the foreground color value. May be NULL.

### Associated Files

lib3do.lib, textlib.h

### See Also

``GetTextCelColors``