Color representation using statistical pattern recognition