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

ユーザーの優先色。シェルを介して設定されます。

## 構文

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

## 要件

**ヘッダー:** social\_manager\_c.h

## 関連項目

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


## Related topics

- [XblSocialManagerUser](/ja-jp/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanageruser.md)
- [XblSocialManagerExtraDetailLevel](/ja-jp/reference/live/xsapi-c/social_manager_c/enums/xblsocialmanagerextradetaillevel.md)
- [XColor](/ja-jp/reference/system/xgameruntimetypes/structs/xcolor.md)
- [PIX_COLOR](/ja-jp/reference/tools/pix3/functions/pix_color.md)
- [PIX_COLOR_INDEX](/ja-jp/reference/tools/pix3/functions/pix_color_index.md)
