This is not a MATLAB question. It is a simple question of mathematics.
Viewed from a fixed point of view, a sphere is just a circle. Some fraction of the area will be red, some blue. That is just a formula based on the rotation of the sphere. (Do the MATH! Again, NO MATLAB content there though, unless you don't know how to write a function. In that case, you need to read the basic tutorials.)
I'll give you a hint there: Viewed from an angle, a great circle of a sphere appears to be an ellipse. Can you compute the parameters of that ellipse as a function of rotation angle? If you know the ellipse parameters, then computing the area of an ellipse is trivial. And if you can compute the area of that ellipse, computing the red/blue fractional area seen is also trivial.
So next, once you know the fraction of the circular area that will be seen as red as a function of the orientation of the sphere, now it is a question of computing the distribution of red fraction, again based on orientation. That is just a case of random sampling. So compute 1000 random angles, then evaluate your formula and compute the mean, plot a histogram, whatever. Even better would be to use techniques of statistical tolerancing to compute that distribution. Whatever makes you happy there.
Note that you can reduce the red fraction seen to a problem in ONE rotation angle. This is not a problem with two or more degrees of freedom. (Think about it. Think about symmetry.)