This tutorial is inspired by question from @marklive - how to change colour based on value set by slider. I do it using Magic Color Rectangle component, along with some formulas
Of course this could be used in more cases when colour needs to be changed dynamically; slider is just a very nice example to use.