Const
🎨 Expands the color gamut to the P3 color space.
This is the default color gamut on devices that support HDR.
If your display is HDR capable, note that full red appears fully saturated and bright in the following example.
await Canvas(200, 100);colorMode(RGB, 1, DISPLAY_P3);background(1, 0, 0); Copy
await Canvas(200, 100);colorMode(RGB, 1, DISPLAY_P3);background(1, 0, 0);
🎨 Expands the color gamut to the P3 color space.
This is the default color gamut on devices that support HDR.
If your display is HDR capable, note that full red appears fully saturated and bright in the following example.