linear_gradient(value,
        start,
        end,
        colour_list=None)
  
   | source code 
     | 
    
  
  Return an RGB colour array of the value placed on a linear colour 
  gradient. 
  The argument value should be a number between zero and one.  The start
  and end colours can either be strings or RGB colour arrays. 
  
    - Parameters:
 
    
        value (float) - The position on the gradient, ranging from zero to one. 
        start (str or list of float) - The starting colour, either the name of the colour as a string or
          an RGB colour array. 
        end (str or list of float) - The ending colour, either the name of the colour as a string or 
          an RGB colour array. 
        colour_list (str) - The colour names to use, one of 'x11' or 'molmol'. 
      
    - Returns: float
 
        - The position in the gradient.
 
   
 |