Food dyes in popular snacks have been linked to adverse health outcomes in kids, says state legislature.