Color profiles messing with SDR content

So, when watching youtube content, especially noticeable on shorts, there can be a problem when some UI is cover the video, which makes it lose color. So, in my pursuit to fix it, the flag #force-color-profile, when set to default, would choose one which has this problem, and setting it to sRGB gets it fixed. This issue seems to also happen when it it set to the Display P3 D65, so I assume that is what it chooses on default. But another problem when switching it to a specific one is youtube HDR content breaks, and probably elsewhere as well, and choosing one of the HDR modes for some reason also lower the brightness a lot, even when watching HDR videos. Bug still happens when HDR is on, even when it’s set to sRGB.

devs pls fix these wcg shenanigans

So, small update I discovered when messing around right now, an ICC or ICM profile is the cause for this. The browser tries to correct the colors with the knowledge of the ICC, but for some reason fails under normal condition. Another update may appear sometime in the future after messing around some more