As long as the light generates charge carriers, it should not affect the voltage. It is like putting something on a mountain. The height of the mountain is always the same. Efficiency of the process is another matter.
By the way, color is too vague. Physicists speak in terms of wavelength or frequency.
there are no relation between color of light and Voc , because in solar cell device should be understand the following...
The performance of the photovoltaic device can be described by current density -voltage curve which leads to give information about the conversion efficiency of sunlight energy to electricity power that according to parameters of it (open voltage circuit V_oc , short circuit current J_sc and maximum power point P_max). The J-V curves as illustrated in figure (5-3) displayed diodic behaviour in the dark while, the under illumination shows extra charge carriers will be generated in photovoltaic device.
Power conversion efficiency (ɳ) of solar cell is the ratio of generated power (maximum powerP_max) to the incident radiation power (P_in ) as given in the following equation :
The parameters presented in equations (5.8) and (5.9) can be defined as follows:
Short circuit current ( J_sc): is the photocurrent generated by radiation in solar cell which is determined from J-V curve that by extracting it when the applied voltage equal to zero. The ( J_sc) depends in majority on the optical and electrical properties. The generated photocurrent in ideal case can be given as:
J_sc=I_L-I_sh-I_d (5.10)
Where,
〖 I〗_L=neμE (5.11)
In which, n is the density of charge carriers, e is the elementary charge, µ is the mobility, E is the electric field, I_sh is the shunt current and I_dis the diode current.
Open voltage circuit ( V_oc): is the voltage that should be applied to the cell and is measured when the current of the cell equal to zero. The V_oc of photovoltaic device depends on different structural parameters whereas the V_oc decrease when charge carrier lose is increased and also depends on the morphology of active layer which leads to a better match with the metal electrode that suggests the V_oc increase.
Full factor (FF): is the ratio of maximum electrical power to the product of short circuit current and open voltage circuit as given at equation (5.9). The maximum power describe the cell how much the delivered power from external power which is calculated from the product of current (J_max) and voltage (V_max). When full factor (FF) reaching to one that means it’s in ideal case but due to transport and recombination losses result in value less than one and in majority depend on the charge dissociation, the charge carrier transport, and the recombination processes.