色数 いろかずであれば
irokazudeareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of 色数

1. If the number of colors; Given the number of colors

Ba Conditional