//Set color base on RGB//You can get RGB value for your color at "Color picker" at above

//******************************************************//Create linked list that will store all gradient information//You can try to understand it by change it's valueLinkedList<Object> a=new LinkedList<Object>();a.add(0.3);a.add(0.3);