# FarSetColors

The FarSetColors structure is used in the AdvControl function to change the color palette of FAR Manager.

    struct FarSetColors {
      DWORD Flags;
      int StartIndex;
      int ColorItem;
      LPBYTE Colors;
    };

### Elements

Flags
Can contain a combination of the following values (the FARCOLORFLAGS enumeration):

Flag | Description
--- | ---
FCLR_REDRAW | Redraw the screen after the color scheme has been changed.

StartIndex
Start index of the color scheme range that should be changed.
ColorItem
Number of the colors to be changed.
Colors
Points to the byte array containing the new color attributes.

### Remarks

See also:
structures | ACTL_SETARRAYCOLOR | TFarSetColors