Automated Color Clustering for Medieval Manuscript Analysis