How to create a square grid filled with random colors in Photoshop
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.
1) Go to the view
2) new guide layout.
3) Create a basic 4 x 4 with no gutter etc and you will end up with a nice 4 x 4 set of lines which can be filled.
4) Set the view menu "snap" to open and snap to only "guides"
In this example, I'm using 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.
2) Go to the settings along the top option bar and set to square (instead of unconstrained)
3) Set the color for the square and then go to the grid and apply to the guides - the rectangle then snaps to the guide.
4) Repeat this with different colors
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
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
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 such as on the left
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.
You can find many tutorials such as how to use the new 2017 search / help command in Photoshop and pattern themed ones how to copy Photoshop patterns to other applications such as Affinity Photo and Corel PaintShop Pro and how to create new brushes using Photoshop patterns and how to use patterns with the random fill script to create unique backgrounds and colorful layers and noise and guides to vector artworks such as how to use Photoshop custom shapes with the creative cloud libraries