Solar cells based on lead-free double perovskites as absorber layer is an environment friendly, stable alternative for the conventional lead based hybrid halide perovskites. A comprehensive theoretical study on the optical and electronic properties of all-inorganic double perovskite with A2BB’X6 stoichiometry is done using density functional theory. Doping studies on (RbxCs1-x )2AgBiBr6 perovskite is done using the virtual crystal approximation method within density functional theory. It is found that as increasing the Rb content (x) from 0.0 to 1.0 in RbxCs1-xAgBiBr6, the lattice parameter, dielectric constant and band gap are found to be decreasing linearly in accordance with Vegard's law. The lattice constant decreases linearly in x with a function of a(x) = 11.516 - 0.0057 x (Å), while the band gap decreases linearly as a function of x, Eg(x) = 1.472 - 0.0009 x (eV). Opto-electronic properties of substitutional doping of Rb in (RbxCs1-x)2AgBiBr6 is compared with Cs2AgBiX6 (X=Cl, Br, I) and Br doped Cs2AgIn(BrxCl1-x)6.