for plugins and presets > tutorials > Patterns

How to create a random color filled Photoshop square grid tutorial

grid in Photoshop random colors filled square tutorial
  1. View menu

  2. New guide layout and set to 5 x 5 etc

  3. View menu and snap ON and snap to guides

  4. Rectangle tool

  5. Draw square in cells of the guide layout

  6. Change color via properties to a random color

  7. Repeat for each cell in the square grid

How to create a square grid filled with random colors in Photoshop. Create a guide for the squares via the view menu and new guide layout and set a cell size for the random color filled squares. Select the rectangle tool and draw a cell using the snap to option for the guides. Change the color of the squares for the random color filled square grid. Repeat for all the cells. You can also fill the square cells of the random color filled grid with images. You can also use rectangles instead of squares and fill rows and columns of the color grid. The random color filled Photoshop square grid can be re-colored by using adjustment layers and effects to change the color. You can also define the random color filled square grid as a Photoshop pattern via the define pattern command. This tutorial shows you how to create a very colorful random color filled square grid in Photoshop along with a number of variants.

You can set the size to any size you wish such as 4 x 4 and 16 x 16

random color grid in Photoshop 5 x 5

A square grid in this tutorial. One made up of multiple square grids. You can make all kinds of random color grids, of course, such as rectangle or perhaps thin slivers of fills - the approach is much the same. Likewise, the random color grid can be 4 x 4, 200 x 20 or 10 x 30 etc. The basic approach is the same.

The key thing is guides and setting the snap to ON

random color grid view guidelines
  1. Go to the view menu in Photoshop

  2. New guide layout.

  3. Create a basic columns 4 x rows 4 (or 5 x 5 etc) with no gutter etc and you will end up with a nice 4 x 4 set of lines which can be filled.

  4. View menu

  5. Set "snap" to ON

  6. Snap to only "guides"

Draw the squares using the generated layout - super fast and easy

random color grid squares and image filled

Use squares but it could as easily be rectangles. Also, you don't have to fill each and every square. You can also fill the square and then add an additional stamp (image) or another path etc.


  1. Select the rectangle tool in the Photoshop toolbar

  2. set to shape layer option

  3. Go to the settings along the top option bar and set to square (instead of unconstrained)

  4. View menu

  5. New guide layout 6 x 6

  6. view menu snap ON and snap to guides

  7. Draw square

  8. Set the color for the square via the properties

  9. Repeat this with different colors

Change the artwork at any point, all kinds of unique designs are possible

random rectangle filled grid in Photoshop
  1. Go to the view menu

  2. New guide layout

  3. Set columns to 20 and rows to 20

  4. View and snap ON

  5. View and snap to guides ON

  6. Go to the rectangle tool

  7. Shape layer option

  8. Create a rectangle and stretch a number of cells down (keep it only one cell wide or one cell deep)

  9. Go to the properties panel (window / properties) and change color

  10. Create another rectangle

  11. Change color via properties

  12. Repeat and fill the design


The design can be added to and changed indefinitely. The key thing is to test out the pattern (if you want it as a repeating pattern) and also just to check for any colors that just don't see right (such as the long blue line that stands out in my image)

Use swatches to fill the colors of the artwork - very simple and quick

random grid color pattern

You can set the color to any color - best select via the swatches (but it is your choice). If you want the colors to be different in each square of the Photoshop pattern then make certain you set different colors to the one above, left, right etc


Also remember to do the same for the cells to the left of the left and to the right of right etc which should avoid matching the left to right and right to the left and top to bottom etc


  1. Rectangle tool

  2. Set to shape layer option

  3. Set color to blue via properties

  4. Apply another square

  5. Set color to green via properties etc

  6. Repeat

  7. Check that no blues are connected to other blues etc

Now save the artwork for use as a seamless tile for all your projects

random grid color fill

Go to the edit menu and define pattern command.


Add the fill via the edit menu command or the layer menu new fill content or via the layer styles etc


  1. Edit menu in Photoshop

  2. Define pattern

  3. Layer meu

  4. New fill layer

  5. Pattern

  6. OK

  7. Set pattern to new random color grid

  8. Set scale

  9. OK

You can create all kinds of variant tile artworks and colors to play with

random color grid saturation

You can re-color the random color grid in Photoshop by using adjustments such as color filter / hue and saturation etc and the results will still be pattern (sometimes perhaps better than the original).


You can also use the Adobe color themes to help set up a nice color scheme for your grid. You can also add additional paths on top of the artwork.


The one on the right is the same as the random color grid above but via the hue and saturation adjustment and saturation reduced.


You can duplicate the artwork and then scale the grid by 50% and then use blending modes via the layer panel to combine them to create ever more interesting tiles for use in PS. You can also use the results of any of the experiments as a possible brush via the edit menu define brush command (though the result will be grayscale).


Or save the result to a PSD file and then use the artwork as a source for displacement maps


Or you can just warp the resulting fill and random color grid layer


  1. Create random color grid

  2. Layer menu in Photoshop

  3. New adjustment layer

  4. Hue & Saturation

  5. OK

  6. Change adjustment via properties for layer

Use the artwork in other applications as well such as Affinity Designer

I have been mentioning Photoshop patterns but the same artworks can be used in Affinity Designer etc just by saving the item as a PNG and loading that via the various pattern / bitmap features in those apps.

Other tutorials

1. how to copy Photoshop patterns to other applications such as Affinity Photo and Corel PaintShop Pro

2. how to create new brushes using Photoshop patterns

3. how to use patterns with the random fill script to create unique backgrounds and colorful layers and noise

Other resources

1. grid shapes for Photoshop etc

2. grid 100 brushes (10 x 10 grids)

Sources and references

1. Grids on wikipedia

Video tutorial

Video tutorial on the subject [Youtube]