> ## 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

Couleur préférée de l'utilisateur. Définie via l'interpréteur de commandes.

## Syntaxe

```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  
```

### Membres

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

Couleur principale de l'utilisateur, encodée en UTF-8.

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

Couleur secondaire de l'utilisateur, encodée en UTF-8.

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

Couleur tertiaire de l'utilisateur, encodée en UTF-8.

## Membre de

[XblSocialManagerUser](/fr/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanageruser)

## Configuration requise

**En-tête :** social\_manager\_c.h

## Voir aussi

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


## Related topics

- [XblPreferredColor](/reference/live/xsapi-c/social_manager_c/structs/xblpreferredcolor.md)
- [XblSocialManagerUser](/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanageruser.md)
