Tested using HSV and YCbCr colour space