Bricklet for measuring color (rgb value) of objects