Const
🎨 Limits the color gamut to the sRGB color space.
If your display is HDR capable, note that full red appears less saturated and darker in this example, as it would on an SDR display.
await Canvas(200, 100);colorMode(RGB, 1, SRGB);background(1, 0, 0); Copy
await Canvas(200, 100);colorMode(RGB, 1, SRGB);background(1, 0, 0);
🎨 Limits the color gamut to the sRGB color space.
If your display is HDR capable, note that full red appears less saturated and darker in this example, as it would on an SDR display.