color distance, time distance