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

# PIX_COLOR

> PIX_COLOR

# PIX\_COLOR

이벤트의 특정 색상을 지정합니다.

## 구문

```cpp theme={null}
UINT PIX_COLOR(  
         BYTE r,  
         BYTE g,  
         BYTE b  
)  
```

### 매개변수

*r*   \
형식: BYTE

색상의 빨강 구성 요소입니다.

*g*   \
형식: BYTE

색상의 초록 구성 요소입니다.

*b*   \
형식: BYTE

색상의 파랑 구성 요소입니다.

### 반환값

형식: UINT

지정된 색상을 포함하는 UINT를 반환합니다.

## 설명

PIX\_COLOR\* 함수를 사용하여 PIX 이벤트/마커 API에 메타데이터로 전달할 색상을 지정합니다.
이벤트에 대한 특정 색상을 지정하려면 `PIX_COLOR`를 사용합니다. 또는 [PIX\_COLOR\_INDEX](/reference/tools/pix3/functions/pix_color_index)를 사용하여 고유한 이벤트 카테고리 집합을 지정하고 PIX가 각 카테고리를 나타낼 색상을 선택하게 할 수 있습니다.

PIX\_COLOR\* 함수는 여러 함수에 대한 색상 매개변수를 결정하여 PIX 차트에 표시되는 방식을 나타내는 데 사용할 수 있습니다. 이러한 함수에는 [PIXBeginEvent](/reference/tools/pix3/functions/pixbeginevent), [PIXScopedEvent](/reference/tools/pix3/functions/pixscopedevent), [PIXSetMarker](/reference/tools/pix3/functions/pixsetmarker)가 포함됩니다.

## 요구 사항

**헤더:** pix3.h

**라이브러리:** pixevt.lib

**지원되는 플랫폼:** XBOX One 계열 콘솔 및 XBOX Series 콘솔

## 함께 보기

[PIX\_COLOR\_INDEX](/reference/tools/pix3/functions/pix_color_index)\
[PIXBeginEvent](/reference/tools/pix3/functions/pixbeginevent)\
[PIXScopedEvent](/reference/tools/pix3/functions/pixscopedevent)\
[PIXSetMarker](/reference/tools/pix3/functions/pixsetmarker)\
[PIX(NDA 항목)](/tools/tools-console/pix/pix)\
[PIX3](/reference/tools/pix3/pix3_members)


## Related topics

- [PIX_COLOR_INDEX](/ko/reference/tools/pix3/functions/pix_color_index.md)
- [PIXSetMarker function](/ko/reference/tools/pix3/functions/pixsetmarker.md)
- [PIXSetMarker reference](/ko/reference/tools/pix3/functions/pixsetmarker_2.md)
- [PIXBeginEvent function](/ko/reference/tools/pix3/functions/pixbeginevent.md)
- [PIXBeginEvent function reference](/ko/reference/tools/pix3/functions/pixbeginevent_2.md)
