- Meta description: How to use a tileable paper texture on a website: choose a tile size, keep the file light, check the edges and apply it with CSS.
- Slug: seamless-paper-textures-web-design
- Target query: seamless paper textures web design
A paper texture can make a flat page feel printed, but the way you ship it decides whether it helps or hurts. This guide covers the practical parts: how large a tile should be, how much it should weigh, how to check that the edges match, and four CSS recipes for backgrounds, tints and overlays.
What "seamless" means here#
A tileable texture is an image whose left edge continues into its right edge, and whose top edge continues into its bottom edge. The browser repeats it to fill any area. A tile that is not seamless shows a visible grid of lines where it repeats, which is worse than no texture at all.
Pick the tile size#
Pick a tile large enough that the repeat does not become obvious, and small enough to stay light. For paper, which is fine and even, 512 to 1024 pixels on a side is a workable range. Very coarse textures such as crumpled paper repeat more visibly and usually need the larger end.
Display it at half of its pixel size (a 1024 px tile shown at 512px) to stay sharp on high-density screens:
.paper {
background-image: url("paper.webp");
background-size: 512px 512px;
background-repeat: repeat;
}Keep the file light#
A texture is background decoration. It should never be the heaviest thing on the page. In my test, a synthetic 3584 px source weighed 3.2 MiB as a PNG, while a 1024 px WebP version of the same pattern weighed 53,580 bytes (about 52 KiB). The numbers come from a generated texture, not from a HorizonX file, so real paper will differ, but the order of magnitude is the point.
- Resize to the display size times the pixel ratio you need, not to the size the source came in.
- Export as WebP or AVIF where your browser support allows it, with a PNG or JPEG fallback if you need one.
- Load it as a CSS background so it does not block the content that matters.
Check the edges after you resize#
Resizing can break a tile that was seamless at full size, because resampling blends pixels near the edge differently from the interior. Always retest after export.
The simplest test needs no tools beyond CSS. Shift the tile by half its size so the repeat seam lands in the middle of the view:
.seam-test {
--tile: 256px;
width: calc(var(--tile) * 2);
height: calc(var(--tile) * 2);
background-image: url("tile.png");
background-size: var(--tile) var(--tile);
background-repeat: repeat;
background-position: calc(var(--tile) / -2) calc(var(--tile) / -2);
}Look at the cross in the middle where four tile corners meet. A visible line or brightness step means the tile is not seamless.
I ran this on a generated seamless tile and on a deliberately broken one, and the broken tile showed the seam clearly. I also compared the pixel difference between the wrapped edges: for the generated tile resized to 1024 px it rose to 3.94 on a 0 to 255 scale, against 1.64 between ordinary neighbouring pixels, so resizing did add a small edge mismatch. I then ran the half-offset test on the resized 1024 px WebP, shown as 512 px tiles, and saw no line or brightness step at the cross. Treat the number as a warning and the eye test as the verdict, and check your own export both ways.
Four CSS recipes#
1. Plain background. The .paper rule above.
2. Tinted paper. Multiply the texture with a colour so one file serves several themes:
.paper-tinted {
background-color: #b9d2ff;
background-image: url("paper.webp");
background-size: 512px 512px;
background-blend-mode: multiply;
}3. Texture over a section. Lay the paper on top of existing content with a pseudo-element, so you do not repaint the section:
.has-grain { position: relative; isolation: isolate; }
.has-grain::after {
content: "";
position: absolute;
inset: 0;
z-index: -1;
background: url("paper.webp") 0 0 / 512px 512px;
mix-blend-mode: multiply;
pointer-events: none;
}4. Keep the text readable. Texture lowers contrast. Check text colour against the textured background, not against the flat colour, and keep the texture subtle behind body copy. For a longer look at this, see Grainy backgrounds that keep websites readable.
Where to get paper textures#
HorizonX has paper textures you can preview before you choose: kraft paper, watercolor paper, crumpled paper and vintage paper. Check each page for its licence and file formats. To generate or adjust a texture yourself, browse the texture editors.
How these recipes were checked#
I rendered recipes 1 to 3 in Chromium with generated test textures and saved a screenshot. The tint and the overlay both rendered as expected, and the tile repeated without visible gaps. The seam test, the file sizes and the edge measurement used generated images, not HorizonX files. Safari and Firefox were not tested.
Next step#
Browse the options and preview a texture on your own colour: See the paper textures.