> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XblPreferredColor

> XblPreferredColor

Preferred color for the user. Set via the shell.

## Syntax

```cpp theme={null}
typedef struct XblPreferredColor {  
    char primaryColor[XBL_COLOR_CHAR_SIZE];  
    char secondaryColor[XBL_COLOR_CHAR_SIZE];  
    char tertiaryColor[XBL_COLOR_CHAR_SIZE];  
} XblPreferredColor  
```

### Members

*primaryColor*\
Type: char\[XBL\_COLOR\_CHAR\_SIZE]

UTF-8 encoded user's primary color.

*secondaryColor*\
Type: char\[XBL\_COLOR\_CHAR\_SIZE]

UTF-8 encoded user's secondary color.

*tertiaryColor*\
Type: char\[XBL\_COLOR\_CHAR\_SIZE]

UTF-8 encoded user's tertiary color.

## Member of

[XblSocialManagerUser](https://docs.xbox.com/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanageruser.md)

## Requirements

**Header:** social\_manager\_c.h

## See also

[social\_manager\_c](https://docs.xbox.com/reference/live/xsapi-c/social_manager_c/social_manager_c_members.md)


## Related topics

- [social_manager_c (contents)](https://docs.xbox.com/reference/live/xsapi-c/social_manager_c/social_manager_c_members.md)
- [XblSocialManagerUser](https://docs.xbox.com/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanageruser.md)
- [XblSocialManagerExtraDetailLevel](https://docs.xbox.com/reference/live/xsapi-c/social_manager_c/enums/xblsocialmanagerextradetaillevel.md)
- [Color](https://docs.xbox.com/reference/system/touchadaptationkit/types/game-streaming-touch-color.md)
- [Color Palette](https://docs.xbox.com/reference/system/touchadaptationkit/layout/game-streaming-touch-color-palette.md)
