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

# XblPreferredColor

> 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](/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanageruser)

## Requirements

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

## See also

[social\_manager\_c](/reference/live/xsapi-c/social_manager_c/social_manager_c_members)
