q5play
    Preparing search index...

    Variable RGBConst

    RGB: "rgb"

    🎨 RGB colors have components r/red, g/green, b/blue, and a/alpha.

    By default when a canvas is using the HDR "display-p3" color space, rgb colors are mapped to the full P3 gamut, even when they use the legacy integer 0-255 format.

    await Canvas(200, 100);

    colorMode(RGB);

    background(1, 0, 0);