there!
Task. I want to change the color stripes on the Commodore64 logo. So that they consist of squares in 4 rows, slightly different in color from each other. But only slightly different. Within the shade of one color, as in the example of the picture with green tiles. (the presence of gaps is not necessary, but it is desirable to have this option)
That is, I want to draw stripes of different colors, so that each consists of squares slightly different in brightness or shade. Probably a universal solution and it is best to operate with pixels, and then scale the image to the desired size.
Examples of images:
Last time with Image Magick Mark Setchell helped me a lot, I hope to get his or your help again!
Although I tried to apply the experience gained earlier, and read the documentation, I could not find a solution. I just do not know how to set random similar colors. And so that it would be an elegant one-line script, and not a multi-line monstrosity of a program, taking pre-entered colors in an array.





