Too many colors?
Although you're limited to 256 materials per scene, each object can contain all
of those materials.
In practice, this is not a serious constraint. I think it's come up once in
the last three years here on the forum.
– G