Castle Background Generator
Make a castle background: a castle on a green hill on a clear day, at golden hour, as a silhouette at dusk with lit windows, under the moon at night, in falling snow, by a lake with its reflection, in the mist, or on a cliff with a stone bridge over the gap. Pick a preset or set your own: the setting, the light, how many towers, cone roofs or crenellated tops, how tall the cones are, the size of the castle, the keep, the pennants, the bridge, lit windows, how many layers of hills, the haze, the mist, falling snow, the clouds, the stars and the moon. Every picture comes from a seed number: the same seed and size always give the same castle, and New seed gives you a new one. Choose desktop, 4K, phone, a 16:9 video-call background (for Zoom, Teams or Meet), tablet, square, banner or your own size up to 4096 pixels. It is artwork drawn by our code, not a photograph and not any real castle. Download a PNG or JPG, or a PDF to print. Nothing is uploaded.
100% private — everything runs in your browser. Everything runs in your browser; nothing is uploaded.
The preview is the same picture drawn smaller. PNG and JPG download at the full size; the PDF fits the picture on one page.
Picture
Castle
Landscape and sky
Finish
Runs in your browser with our own code: nothing you type is uploaded or saved. Every tower, wall, roof, bridge, hill and lake is drawn by our own code from the seed; it is artwork, not a photograph and not any real castle. You may use what you make here, including commercially, with no credit needed.
How to make a castle background
- Pick a preset: hill, golden hour, dusk, night, snow, lake, mist, cliff with a bridge and more.
- Choose the setting and the light.
- Set how many towers, cone roofs or crenellated tops, the cone height and the castle size; tick the keep, pennants and bridge.
- Set lit windows, the layers of hills, the haze, the mist and falling snow.
- Choose the clouds, the stars and the moon; press New seed for a new castle.
- Choose a size and download the PNG or JPG, or the print PDF.
What you can use it for
- Desktop and phone wallpapers
- Video-call backgrounds
- Birthday and party invitations
- Story, book and game covers
- Classroom displays and slides
- Social posts and banners
The 16 presets
| Preset | Setting | Light | What is in it | Size |
|---|---|---|---|---|
| Castle on a green hill, clear day | On a hill | Clear day | 4 towers (mixed), keep | 1920 × 1080 |
| Castle on a hill at golden hour | On a hill | Golden hour | 5 towers (cone roofs), keep | 1920 × 1080 |
| Castle silhouette at dusk, lit windows | On a hill | Dusk | 4 towers (mixed), keep, lit windows | 1920 × 1080 |
| Castle at night under the moon | On a hill | Night | 5 towers (cone roofs), keep, lit windows, moon | 1920 × 1080 |
| Castle in the snow | On a hill | Snow | 4 towers (cone roofs), keep, 600 snowflakes | 1920 × 1080 |
| Snowy castle at night, lit windows | On a hill | Night | 5 towers (cone roofs), keep, lit windows, 500 snowflakes, moon | 1920 × 1080 |
| Castle by a lake with its reflection | By a lake (with reflection) | Clear day | 4 towers (mixed), keep, bridge of 3 arches | 1920 × 1080 |
| Lake castle at dusk | By a lake (with reflection) | Dusk | 5 towers (cone roofs), keep, bridge of 3 arches, lit windows | 1920 × 1080 |
| Misty lake castle | By a lake (with reflection) | Mist | 4 towers (crenellated tops), keep, bridge of 3 arches | 1920 × 1080 |
| Castle on a cliff with a stone bridge | On a cliff with a bridge | Clear day | 4 towers (mixed), keep, bridge of 3 arches | 1920 × 1080 |
| Cliff castle at golden hour | On a cliff with a bridge | Golden hour | 5 towers (cone roofs), keep, bridge of 3 arches | 1920 × 1080 |
| Tall cone-roof towers on a hill | On a hill | Clear day | 6 towers (cone roofs), keep | 1920 × 1080 |
| Crenellated stone fort in the mist | On a hill | Mist | 4 towers (crenellated tops), keep | 1920 × 1080 |
| Video call: calm castle on a hill | On a hill | Golden hour | 4 towers (mixed), keep | 1920 × 1080 |
| Phone wallpaper: castle at night | On a hill | Night | 3 towers (cone roofs), keep, lit windows, moon | 1170 × 2532 |
| 4K castle by a lake at golden hour | By a lake (with reflection) | Golden hour | 5 towers (mixed), keep, bridge of 3 arches | 3840 × 2160 |
Worked out by the tool.
Sizes
| Size | Pixels | Width ÷ height |
|---|---|---|
| Phone | 1170 × 2532 | 0.462 |
| Desktop | 1920 × 1080 | 1.778 |
| 4K | 3840 × 2160 | 1.778 |
| Video call background | 1920 × 1080 | 1.778 |
| Tablet | 2048 × 2732 | 0.750 |
| Square | 2048 × 2048 | 1.000 |
| Banner | 1500 × 500 | 3.000 |
Every size is drawn at its own pixels, not stretched.
The castle parts
| Part | How it is built |
|---|---|
| Curtain wall | A rectangle 669.6 px wide and 133.9 px high (20 % of the castle width) |
| Crenellation | Merlons 18.1 px wide and 16.6 px high repeating every 30.1 px (period = 4.5 % of the castle width; merlon = 0.6 × period); 22 on the wall |
| Towers | 4 evenly spaced across the wall, corner towers taller; each 73.7 px wide |
| Cone roof | A triangle on a base 1.25 × the tower width; its height = the cone setting (1.6) × that base |
| Crenellated top | A corbel band 1.14 × the tower width with the same merlon repeat as the wall |
| Keep | A taller block behind the wall (28 % of the castle width) with a crenellated top and two cone turrets |
| Gate and windows | A half-circle on a rectangle; windows the same shape, lit with a warm glow when Lit windows is above 0 |
| Bridge | A deck with true half-circle arches underneath (radius 0.36 × the arch spacing); on the lake and cliff settings |
Pixel sizes worked out by the tool for the first preset (desktop). Every part is a polygon worked out by our code; there are no image files.
How the far layers fade
| Layer | Mixed towards the haze | Colour | Brightness (0–255) | Ground line (from the top) |
|---|---|---|---|---|
| 1 (farthest) | 85 % | #b5c9cd | 197 | 454 px |
| 2 | 61 % | #8fa59f | 160 | 556 px |
| 3 | 38 % | #6c8374 | 125 | 689 px |
| 4, the castle | 17 % | #4a644d | 93 | 799 px |
| 5 (nearest) | 0 % | #2f4a2c | 66 | 994 px |
Worked out by the tool for the first preset (5 layers, desktop): the farther the layer, the more haze and the lighter the colour. Each layer’s haze share is the haze setting × (1 − its place from the back ÷ (layers − 1))^1.15. The castle is mixed towards the haze like the layer it stands on.
The 6 lights
| Light | Haze colour | Nearest layer | Stone | Roofs |
|---|---|---|---|---|
| Clear day | #cddfe9 | #2f4a2c | #bdb4a2 | #3d4a6a |
| Golden hour | #efd4a2 | #3b3a1e | #d8b98a | #6a3a2a |
| Dusk | #c99aa0 | #1c1824 | #3a3040 | #2a2232 |
| Night | #2e3f66 | #060912 | #262c3c | #1a1e2c |
| Snow | #eef2f5 | #a9b5c2 | #8a8f9a | #4a5468 |
| Mist | #d9dedf | #3c4a44 | #9a9a94 | #4a4f58 |
Snow adds white caps to the roofs and merlons; the lake shows the castle mirrored, mixed towards the water colour farther from the shore.
What downloads
| Download | What is in it |
|---|---|
| PNG | The still picture at the full size you chose, every pixel exactly as drawn |
| JPG | The same picture as a smaller JPG (quality 92) |
| One Letter or A4 page with the picture fitted inside 10 mm margins |
| Paper | A 4K picture prints at | Sharpness |
|---|---|---|
| Letter (landscape) | 259.4 × 145.9 mm | 376 px per inch |
| A4 (landscape) | 277.0 × 155.8 mm | 352 px per inch |
To fit a picture of your own to a screen, use the Phone Wallpaper Maker; to change the size of a picture afterwards, the Image Resizer.
Which tool to use
| You want | Use |
|---|---|
| A castle scene on a hill, lake or cliff | Castle Background Generator (this page) |
| A castle to colour in | Castle Coloring Pages |
| A shield with your own charges | Coat of Arms Maker |
| A dungeon floor plan | Dungeon Map Generator |
| Floating islands, crystal caves or two moons | Fantasy Background Generator |
Other tools: the Coat of Arms Maker for a shield to go with your castle, and the Dungeon Map Generator for what lies beneath it.
More free tools
More castles and medieval art?
Picture and print tools that run privately in your browser, with no sign-up and no watermark.
Frequently asked questions
Is this a photo or a real castle?
No. Every tower, wall, roof, bridge, hill and lake is drawn by our own code from the seed: it is artwork, not a photograph, and it is not any real castle or one from a film or game.
How is the castle built?
From parts: a curtain wall with crenellations, two to seven towers with cone roofs or crenellated tops, an optional keep with two cone turrets, an arched gate, arched windows, pennants and, by a lake or on a cliff, an arched bridge. The table below gives the sizes.
What are crenellations?
The notched top of a castle wall: solid blocks (merlons) with gaps between them. Here each merlon is 0.6 of the repeat wide, and the repeat is 4.5 % of the castle width.
Why are the far hills paler?
Each layer is mixed towards the haze colour of the light you chose, more the farther away it is. Painters call this aerial perspective. The table below gives the numbers for the first preset.
Can the windows glow?
Yes. Raise Lit windows: each window gets a warm light and a soft glow. The dusk and night presets start with them lit.
Can I use it as a video-call background?
Yes. Choose Video call background (16:9, 1920 × 1080), download the PNG or JPG and pick it as a virtual background in your video-call app. The calm castle on a hill preset keeps it quiet.
What does the seed do?
It fixes the tower heights, the hills, the clouds, the stars and the snow. The same seed and size give exactly the same picture, pixel for pixel.
How big does the PDF print?
The picture is fitted on one Letter or A4 page inside 10 mm margins, turned to suit its shape. The table below gives the printed size of a 4K picture.
Is it free?
Yes. There is no sign-up, no watermark and no limit.
Is anything uploaded?
No. Every pixel is worked out by JavaScript in your browser. Nothing you type is sent anywhere or saved when you close the page.