Hi there, Yes, this is true. It is indeed illegal to have anything but white or blue headlights. Red is meant to indicate the back of a car. Yellow is for marker lights, including turn signal lights.