The Web site for Smack Apparel, which sells T-shirts parodying college sports, boasts that its products are “Licensed Only by the First Amendment.”

But a federal judge has barred the company from appropriating school colors in what winning attorneys said is the first decision extending trademark protection to color schemes.