You can choose to generate your gradient using either hex codes or RGB values. Hex codes are more convenient, whilst RGB values are slightly more performant (although not by much) and allow you to ...
This is a sample project shows an example of a gradient shader that can be used for the background sky in a 2D Unity project. The branches in this repo represent 2 and 3 color gradient shaders as ...