Mesh Gradient Generator
Blend four colours into a seamless repeat for fabric prints, packaging or digital backgrounds.
How the gradient mesh works
Each patch blends between two colours along one row and two along the next. The aligned layout places the points in straight columns. The slanted layout shifts each row sideways as the colour field moves down the tile. Both layouts return to the starting colours at each repeat boundary.
Choose a scale and export
Choose a palette or enter four six-digit HEX colours. Set the tile dimensions, then select Generate. With an 8 × 6 cm tile, two cycles place a complete colour sequence every 4 cm across and 3 cm down. Use Refresh to restore the starting settings.
Download PNG gives one raster tile at your chosen PPI. Download SVG gives a scalable tile with vector gradients and centimetre dimensions. Download Full Image gives a 3 × 3 PNG panel. PNG sizes round to whole pixels. For textile sampling, print at actual size and check the colours on your intended cloth.
Explore the pattern colour gallery for palette ideas or visit the pattern generator directory for other repeat structures.
Design a mesh gradient for a repeating surface
Use the free mesh gradient generator above to place four colours in a tile, set its width and height in centimetres, and see how nine copies fit together. Choose a repeat PNG for a pattern fill, an SVG for vector artwork or a full PNG for a ready-filled panel.
How the four colour points shape the print
Follow the top edge of an aligned tile from left to right. It starts at point A, reaches B halfway across and returns to A at the opposite edge. Halfway down the tile, the corresponding sequence is C, D, C. Between those rows the tool blends their colours gradually. At the bottom edge the first row returns, ready to meet the next copy.
That gives each point a practical job. To put a pale highlight in the centre of a broad aligned repeat, lighten D. To carry a blue shade along its upper edge, keep A and B close in hue. Changing just one point makes it easier to see which part of the print you are adjusting.
Aligned and slanted layouts
Aligned places each pair of points directly below the pair above it. Slanted shifts the blend sideways as it travels down the tile. Halfway down a broad slanted tile, C falls at the horizontal centre and D reaches the side edges. By the bottom, the sideways shift has completed a full period and the colours meet again.
Broad washes, fine repeats and fabric structure
Broad, Medium and Fine place one, two or three colour cycles along each tile axis. A broad wash leaves room for colour to develop across a dress panel. A fine mesh brings more of the palette into a narrow strap or pocket. For a smaller, almost micro-scale effect, reduce the tile dimensions and inspect a physical sample. These size descriptions depend on the finished article.
On cloth, this artwork describes where printed colour falls. A woven check has another source of colour. In traditional plain-weave gingham, coloured and white warp and weft yarns cross to produce pale areas, mixed areas and deeper crossings. If the intended design is a picnic cloth with visible bands, explore the gingham pattern generator.
Four mesh gradient colour recipes
Enter each recipe in A, B, C, D order. All four swatches show an aligned 8 × 6 cm tile in the same proportions. The blue, red and navy examples use Broad. The green example uses Fine, so you can compare colour density at the same tile size.
Make a mesh gradient with your own colours
- Choose Aligned or Slanted. Start with Broad so you can locate all four colour points.
- Choose Lagoon, Orchid dusk or Sunbaked clay. Replace individual colours with the pickers or paste six-digit HEX values including the # sign.
- Set the width and height of one export tile. Change the scale if you want more colour cycles inside those dimensions.
- Set the PNG resolution requested for your project. Select Generate, then follow a highlight across a tile boundary in the 3 × 3 preview.
- After an edit, select Generate again. Choose a download once the colour references and dimensions match your specification. Refresh restores the defaults.
For a tonal mesh, keep all four points in one hue family and vary their lightness. For a pastel mesh, keep the darkest point light enough for the intended mood, then inspect the palest two points together. Similar light colours can lose separation on an unbleached textile base. For a multicolour study, keep one pair fixed while changing the other. The pattern colour gallery offers more starting combinations.
Repeat dimensions, colour cycles and print resolution
The export tile is the rectangle you supply to a printer or pattern-fill application. The colour cycle is the distance before the blend repeats inside that rectangle. Increasing the cycle count keeps the file dimensions fixed. Increasing PPI adds raster pixels while keeping the intended print dimensions fixed.
| Scale and PPI | Cycle across × down | Tile PNG | Full PNG |
|---|---|---|---|
| Broad, 300 | 8 × 6 cm | 945 × 709 px | 2835 × 2127 px |
| Medium, 300 | 4 × 3 cm | 945 × 709 px | 2835 × 2127 px |
| Fine, 150 | About 2.67 × 2 cm | 472 × 354 px | 1416 × 1062 px |
One inch equals 2.54 cm. To calculate the PNG width, divide centimetres by 2.54, multiply by PPI and round to the nearest pixel. Calculate the height the same way. The full panel repeats those rounded pixel dimensions three times per axis. Its nominal physical size here is 24 × 18 cm. For a 1-inch colour study, use a 2.5 cm tile as a close approximation or set the exact physical size in your vector layout.
Which pattern matches the design brief?
| Design | What to look for |
|---|---|
| Mesh gradient | Colour changes gradually between points in two directions. Use it when highlights should spread into surrounding shades. |
| Checkerboard | Equal squares alternate with distinct edges. A black-and-white floor layout is a familiar example. |
| Gingham | Regular crossing bands give a classic two-yarn-colour woven check its three-tone appearance. |
| Buffalo check | Broad crossing bands create bold blocks, often red and black. The stripe intersections remain visible. |
| Plaid and tartan | Look for a repeating sequence of intersecting bands. A tartan’s particular arrangement of stripes is called its sett. |
Choose a download for the next production step
PNG repeat tile. Choose Download PNG when your destination can tile an image. Supply the repeat dimensions with the artwork and ask the operator to preserve its scale. For digital textile printing, approve a strike-off on the fabric you plan to use.
SVG vector repeat. Choose Download SVG to resize the design or place it in a vector layout. The SVG uses gradient fills and an opacity mask, with its width and height recorded in centimetres. Inspect the imported artwork in your receiving application before sending it to production.
Full tiled PNG. Choose Download Full Image for a panel that already contains nine repeats. It suits a packaging mockup or a presentation where the receiving software expects one image. It also shows where the lightest zones gather across a larger area.
Plan the repeat around the cut piece
For printed shirting or dresses, trace the piece on a full-size paper proof and mark the brightest zone. A highlight that works on an open front panel may disappear into a placket or gather. For a bag flap or quilt block, judge the colour area inside the finished seam line. A fine repeat can keep a small piece recognisably part of the same palette.
For table linen, check both the centre of the table and the section that hangs over the edge. On packaging, carry the repeat across a fold and see where the brand name lands. For a digital background, test the lightest and darkest areas behind the actual text at the intended screen size.
Mesh gradient questions
How do I move a highlight into the middle?
Choose Aligned and Broad, then assign your lightest colour to D. In Slanted, try C for the centre highlight. Generate again after changing the colour.
Can I use just two colours?
Yes. Reuse HEX values across the four points. For example, assign navy to A and D and cream to B and C to alternate the light and dark point positions. At least two distinct colours are required.
Why does the file size in pixels stay the same when I select Fine?
Fine fits three cycles along each tile axis. Width, height and PPI determine the pixel count. Increase PPI if a supplier needs more pixels for the same physical repeat.
Can I create an editable gradient mesh in Illustrator from this SVG?
The SVG imports as gradient and mask artwork. To work with Illustrator’s individual mesh points and handles, create a native mesh object in Illustrator. Keep the exported SVG alongside it as a palette and placement reference.
Can this mesh gradient maker animate the colours?
The three download options produce still artwork. For motion work, use an exported image as a background layer and animate its position in your motion editor.
Why can I export one tile but get an error on the full panel?
The full PNG has nine times as many pixels. The generator caps raster exports at 8,192 pixels per side and 16 megapixels overall. Use the single repeat when your layout supports tiling, or reduce the dimensions or PPI to export a panel.
Can I use the on-screen HEX values to approve fabric colour?
Use HEX to reproduce the digital palette. For physical approval, supply the printer with the artwork, fabric reference and required repeat size. Compare a strike-off under your agreed viewing conditions.
What should I do if a tiled background shows fine lines?
Place two original tiles edge to edge at 100% with zero spacing. Check for a border, transparent padding or fractional placement in the receiving layout. If the line appears only at certain zoom levels, inspect the final-size export before editing the artwork.
Explore related surface patterns
Use the generator directory to compare a soft colour field with geometric checks. For an existing design to place alongside your gradient, browse the pattern download collection.