Maximum number of Color-Codes
What do you think is the maximum number of color-codes you should use in a web project? Suppose you use the optimal combination of colors in order to get the best usability.
For better understanding, let's say we have a specified number of "categories", each should get a site-wide color. In a hypothetical perfect world, with perfect icons & labels.