Could be something peculiar to Nvidia GPUs, or maybe it’s just Firefox, but I never see this colour anywhere else, only when something causes a glitch in the rendering of video content. Sometimes it’s not just the video player that goes green, but the entire viewport of the browser window. I’m mainly curious why it’s that colour, rather than just black or white or something like that.

  • HEX: 004d00
  • RGB: rgb(0, 77, 0)

Cheers!

  • ChaoticNeutralCzech@feddit.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    4 days ago

    Oh, turns out it really is YCbCr, I should have done the conversion the other way around! The gamuts of both spaces are different so doing the raw matrix multiplication on YCbCr(0, 0, 0) results in RGB(-179.2, 134.9, -225.9). This is obviously outside valid subpixel values in RGB24 (integers 0-255) so the values get set to RGB(0, 135, 0). There will be gamma correction applied, for example the ITU-R BT.601’s gamma correction will change it to RGB(0, 74, 0) - not quite OP’s measured value but very close, and we don’t know the video’s color profile or hardware gamma settings (yes, GPUs can apply various corrections to HW-decoded video before sending it to the screenbuffer that OP saved by screenshotting) so there is some margin of error.