Text this: A Linear Criterion to sort Color Components in Images