Added a setHSV function in core to set block colours with HSV triplet.