Adds colour to blocks.
Adds required name parameter.