Tikz, 175 bytes
\documentclass[tikz]{standalone}\begin{document}\tikz{\def\b{;\draw[line width=}\def\a{)--(}\clip(1,1\a1,5\a5,5\a5,1)\b2mm](0,4\a6,4\a6,3\a4,3)\b1mm](4,0\a4,5);}\end{document}
Verify it in the Blogosphere
This is perhaps one of Mondrian's most minimalistic works and I am surprised no one has found it yet. It is not however particularly interesting so I have included several other paintings in my answer.
Explanation
There is a bit of a wrapper that is associated with every tikz answer. The wrapper is:
\documentclass[tikz]{standalone}\begin{document}\tikz{
}\end{document}
Once you get past the wrapper there are a few \def
statements that save bytes but unfortunately obfuscate the code:
\def\b{;\draw[line width=}\def\a{)--(}
If we make all the proper substitutions our code comes out looking like:
\clip(1,1)--(1,5)--(5,5)--(5,1);
\draw[line width=2mm](0,4)--(6,4)--(6,3)--(4,3);
\draw[line width=1mm](4,0)--(4,5);
The first bit is a \clip
and is very important, but we will skip over it for the time being.
Now we draw the first line on the blank canvas, This line is rather thick so we use [line width=2mm]
to set the thickness to 2mm
:
\draw[line width=2mm](0,4)--(6,4)--(6,3)--(4,3);
This connects a couple of nodes and produces this shape:

Next we \draw
a second stroke, however this stroke is thinner so we have to set the line thickness to 1mm
:
\draw[line width=1mm](4,0)--(4,5);
Now our painting looks like:

This is close to the original but not quite, so here is where the \clip
comes into play. We use the \clip
to remove all the extra lines from our canvas and set the canvas to the correct size. With the canvas resized we get the image:

\documentclass[tikz]{standalone}\begin{document}\tikz[line width=2mm]{\clip(1,1)rectangle(7,7);\draw(0,8)rectangle(4,3.5)rectangle(6.5,1.2)rectangle(4,0);\draw[fill=yellow](6.5,3.5)rectangle(8,2.5);}\end{document}
Evaluate it in CyberSpace
Explanation to come
\documentclass[tikz]{standalone}\begin{document}\tikz[line width=2mm]{\clip(1,1)rectangle(7,10);\draw(8,9)rectangle(3,6)rectangle(0,0);\draw[fill=yellow](0,0)rectangle(3,2);\draw[fill=blue](0,11)rectangle(3,9);}\end{document}
Assess it over the Webbernetz!
Explanation to come
\documentclass[tikz]{standalone}\begin{document}\tikz[line width=2mm]{\clip(1,1)rectangle(10,13);\draw[line width=1mm](1.2,5)--(1.2,9);\draw[fill=red](0,14)rectangle(5,9);\draw(0,9)rectangle(11,5)(7,0)rectangle(5,14);}\end{document}
Attempt it within the Internet!
Explanation
First here is the code with line breaks inserted to make it more readable:
\documentclass[tikz]{standalone}
\begin{document}
\tikz[line width=2mm]{
\clip(1,1)rectangle(10,13);
\draw[line width=1mm](1.2,5)--(1.2,9);
\draw[fill=red](0,14)rectangle(5,9);
\draw(0,9)rectangle(11,5)(7,0)rectangle(5,14);
}
\end{document}
The first command of interest is
\draw[fill=red](0,14)rectangle(5,9);
This draws a red rectangle with a black outline. For the upper left hand corner of the painting.

We then draw two more rectangles with white interiors and black outlines to create the grid pattern on the painting
\draw(0,9)rectangle(11,5)(7,0)rectangle(5,14);

We then draw in a thin line
\draw[line width=1mm](1.2,5)--(1.2,9);

And crop the image to the proper size
\clip(1,1)rectangle(10,13);

\documentclass[tikz]{standalone}\begin{document}\tikz[line width=1mm]{\clip(1,1)rectangle(9,9);\draw[fill=yellow](8.5,6)--(0,6)--(8.5,6)--(8.5,2)rectangle(10,0);\draw[fill=red](3,3)rectangle(10,10);\draw[fill=blue](0,0)rectangle(3,3);}\end{document}
Test it upon the World Wide Web!
Explanation
First I will insert some line breaks to make my code readable
\documentclass[tikz]{standalone}
\begin{document}
\tikz[line width=1mm]{
\clip(1,1)rectangle(9,9);
\draw[fill=yellow](8.5,6)--(0,6)--(8.5,6)--(8.5,2)rectangle(10,0);
\draw[fill=red](3,3)rectangle(10,10);
\draw[fill=blue](0,0)rectangle(3,3);
}
\end{document}
The first line of importance is:
\draw[fill=yellow](8.5,6)--(0,6)--(8.5,6)--(8.5,2)rectangle(10,0);
This draws the following shape:

This strange shape is the yellow rectangle in the lower right corner and the two lines that are no the edge of a colored rectangle. Next we insert the red square and cover up the extra lines made by the last shape:
\draw[fill=red](3,3)rectangle(10,10);
This comes out looking like:

Now we insert our blue square:
\draw[fill=blue](0,0)rectangle(3,3);

Now all that is left is to crop out all the unnecessary parts of the image using a \clip
\clip(1,1)rectangle(10,10);

\documentclass[tikz]{standalone}\begin{document}\tikz[line width=2mm]{\clip(1,1)rectangle(12.6,13);\draw(0,0)rectangle(10,4)rectangle(2,12)--(0,12);\draw[fill=red](10,1.6)rectangle(14,0);\draw[fill=yellow](6,12)rectangle(10,14);\draw[fill=blue](0,4)rectangle(2,8);\fill(10,10)rectangle(14,14);}\end{document}
Check it out on the Information-Super-Highway
Explanation to come