Yes. You need to check for the GL_ARB_framebuffer_sRGB extension and use new PixelFormat(...).withSRGB(true).
unsigned int defaults(unsigned int displayMode, int &width, int &height){ return displayMode | GLUT_SRGB;}