Custom color selector

This code snippet demonstrates how to customize an elementary color selector widget. Our example color selector will consist of only three colors: red, green and blue.