if they are blue and/red you will get in big trouble.. if the cop was a dick(most are).. but if he was nice he'll probably just give u a ticket
now if its any color flashing while driving its illegal. can't have any flashing lights unless they are ur turning signals on ur head/tail lights
but that's for exterior,
interior just dont have them flashing while driving..