# Detect display color format (RGB/YUV)

**URL:** <https://discourse.glfw.org/t/detect-display-color-format-rgb-yuv/2081>\
**Category:** support\
**Created:** [June 26, 2022, 9:32am UTC](https://discourse.glfw.org/t/detect-display-color-format-rgb-yuv/2081 "2022-06-26T09:32:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShacharDev](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/shachardev/32/542_2.png) [@ShacharDev](https://discourse.glfw.org/u/ShacharDev)\
**Post date:** [June 26, 2022, 9:32am UTC](https://discourse.glfw.org/t/detect-display-color-format-rgb-yuv/2081/1 "2022-06-26T09:32:07Z")

</div>

Is there a way using GLFW to detect which color format the display is set to?

---

<div class="post-metadata">

**Author:** ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)\
**Post date:** [June 26, 2022, 11:25am UTC](https://discourse.glfw.org/t/detect-display-color-format-rgb-yuv/2081/2 "2022-06-26T11:25:18Z")

</div>

Not that I’m aware of - indeed searching for how to do this on Windows/Linux/MacOSX proved to reveal that this is a fairly complex issue for such a simple question.

Monitor documentation reference:  
[https://www.glfw.org/docs/latest/monitor\_guide.html#monitor\_properties](https://www.glfw.org/docs/latest/monitor_guide.html#monitor_properties)
