Detection and Communication in Colored Noise