Piet Mondrian began his career painting realistic landscapes but later simplified his style to focus on the relationships between color and line. He used only the primary colors of red, yellow and blue, along with black, white and gray. Mondrian arranged horizontal and vertical lines in his paintings in different configurations, adjusting the thickness, spacing and placement of the lines to achieve balance.