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

# XblPreferredColor

使用者的慣用色彩。透過殼層設定。

## 語法

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

### 成員

*primaryColor*\
類型：char\[XBL\_COLOR\_CHAR\_SIZE]

以 UTF-8 編碼的使用者主要色彩。

*secondaryColor*\
類型：char\[XBL\_COLOR\_CHAR\_SIZE]

以 UTF-8 編碼的使用者次要色彩。

*tertiaryColor*\
類型：char\[XBL\_COLOR\_CHAR\_SIZE]

以 UTF-8 編碼的使用者第三色彩。

## 隸屬於

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

## 需求

**標頭：** social\_manager\_c.h

## 另請參閱

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


## Related topics

- [social_manager_c](https://docs.xbox.com/zh-TW/reference/live/xsapi-c/social_manager_c/social_manager_c_members.md)
- [XblSocialManagerUser](https://docs.xbox.com/zh-TW/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanageruser.md)
- [XblSocialManagerExtraDetailLevel](https://docs.xbox.com/zh-TW/reference/live/xsapi-c/social_manager_c/enums/xblsocialmanagerextradetaillevel.md)
- [XColor](https://docs.xbox.com/zh-TW/reference/system/xgameruntimetypes/structs/xcolor.md)
- [PIX_COLOR](https://docs.xbox.com/zh-TW/reference/tools/pix3/functions/pix_color.md)
