Use the sliders to do stuff The three circles at the bottom are the (L to R) Min, Average and Max colours.
Feel free to use the code in other projects.