I have Dell U3219Q monitor and with every reboot it’s been a mystery which color mode it will end up in… With this script (and deleting “com.apple.windowserver.displays.plist” from my user-specific Library/Preferences folder) it seems to have settled with RGB.