Giving just one color as a background to an element can often feel a bit “bland” and we may want to make the background slightly more sophisticated.
The natual approach to this was to always combine two colors in some gradient for one of them or combining several colors in several gradients.
But is there anything else besides gradients?
What if for example I would like to decorate the background color with some simple Grey grid?
I am not familiar with graphic design terminology, please share your free thoughts on this.
Exploring beyond gradients, incorporating subtle elements like a grey grid can add a touch of sophistication to a single-colored background, offering a visually engaging alternative in graphic design. It’s about experimenting with creative nuances beyond traditional techniques to enhance the overall aesthetic appeal.
Your pseudo code may indeed sound simpler but would have no mechanisms for setting the size of the grid or for changing the shape or its thickness or it’s transparency or it’s orientation etc. Are you going to add all those as well. It’s quite easy to say “I only want this one thing” but realistically you would need to define a whole new spec for this.
The gradient syntax already has that all build in and so much more which is why I don’t understand the hesitancy. I’ll admit the more complicated gradients can be awkward to build but your grid effect in my last demo was very simple.
The bottom line is that you already have the tools to do what you want
I just find the gradient/s method too broad from a pedagogic/didactic standpoint. I willl use it, of course, but I only tried to find out if there is something more specific.