A wearable shear force transducer based on color spectrum analysis