Is there a way using GLFW to detect which color format the display is set to?
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