Change Size and Position of multiple GameObject into One With Percentage?

Hi everyone, I have some difficulty with my game in the battle scene :(. I need to show 3 to 5 rectangle of color with different size each time the script get call. I need that the rectangle fill the full size of the screen. Thanks in advance for your help.

Picture of What I Mean!