Yep, its illegal.

All forwards pointing lights must be white, unless its an indicator, in which case it must illuminate amber, but only when indicating, and it must flash.