added median_color.py