We know that in the RGB system we have three primary colors and each of them has a value from $0$ to $255$ (or $256$ values in total). So all possible colors are $256^{3}=16777216$.
But in the CMYK system we have four primary colors and each of them has $101$ values (from $0$ to $100$). So in this case all possible colors should be $101^{4}=104060401$ which is far more than all possible colors in the RGB system.
So does CMYK system provide more colors? (but of course we can perceive only $16777216$ colors because of our vision which only perceives three primary colors)
Also another question: In RGB system the hexadecimal codes again provide $16777216$ colors; because we have from 00 to FF for each primary color (again $256$ possible codes). But for CMYK system the total possible colors differ from $104060401$ when using hex codes. Because the code range is from 00 to 64 ($85$ total codes) for each primary color and the total number of possible colors is $85^{4}=52200625$ which is again more than the possible colors of RGB system. But why are the number of colors differ in CMYK system when using values and hex codes?