q5play
    Preparing search index...

    Variable DISPLAY_P3Const

    DISPLAY_P3: "display-p3"

    🎨 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);