Change the background colour in draw.io

You can set a coloured background instead of using the default transparent background, which will be included when you print or export your diagram.
Change how the grid is displayed on the drawing canvas in draw.io

Set a background colour in the format panel

  1. Ensure nothing is selected in your diagram to see the Diagram tab in the format panel.
  2. Click on the Background checkbox.
  3. Click on the colour button, then select a different solid colour from the palette or enter a colour’s hex code (without a #), and click Apply to set a solid background colour.
    Choose a new background colour for your diagram, then click Apply

When you export your diagram or print it, this will also include the diagram’s background colour.

Each page in a multi-page diagram can use a different background colour.

Set a background colour in the menu

  1. Select File > Page Setup.
  2. Click on the colour square next to Background to see a colour palette. The default background colour is transparent.
    Change the background colour of a diagram via the Page Setup dialog
  3. Select a new colour from the palette, click Apply, then click Apply again to save your new page setup.

Related