Support socket color detection