Answer:
[tex]\red{ \rule{5pt}{1pt}} \orange{ \rule{5pt}{1pt}} \blue{ \rule{5pt}{1pt}}\color{yellow}{ \rule{5pt}{1pt}} \pink{ \rule{5pt}{1pt}}[/tex]
[tex]\red{ \rule{10pt}{99999pt}} \orange{ \rule{10pt}{99999pt}} \blue{ \rule{10pt}{99999pt}} \color{yellow}{ \rule{10pt}{99999pt}} \pink{ \rule{10pt}{99999pt}}[/tex]