# GetTextCelColors

Retrieves background and all four foreground colors.

### Synopsis

`void GetTextCelColors (TextCel *tCel, int32 bgColor,int32 fgColors[4])`

### Description

Retrieves the background and foreground colors used when the cel is drawn. This function gets all four foreground colors; use it with the features that allow multiple text colors within a single cel. The fgColors parameter must be a pointer to an array of exactly four int32 values.

### Arguments

tCel
  Pointer to a TextCel structure.

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

fgColor
  Pointer to an array to receive the foreground color values. May be NULL.

### Associated Files

lib3do.lib, textlib.h

### See Also

``GetTextCelColor``