added colour picking functionality