Let's me begin by saying that I am a complete newbie. I have been trying to draw the following image but didn't get very far:
The following is what I have so far:
\documentclass[border=5mm,tikz]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc}
\definecolor{DarkOceanSky}{RGB}{133,163,229}
\definecolor{Reu}{RGB}{102,173,76}
\definecolor{Crimson}{RGB}{220, 20, 60}
\tikzset{% define a pic for the little squares: takes colour and label as arguments
pics/mysquare/.style args={#1, #2}{
code={\draw[#1](-0.2,-0.2) rectangle (0.2,0.2);
\draw[fill=#1] circle[#1,radius=2pt](0,0);
\node[#1] at (0.4,-0.08){$#2$};
}}}
\begin{document}
\begin{tikzpicture}
\begin{scope}[my square/.style={rectangle,draw=red,minimum width=1em, minimum height=1em}]
\draw[fill=Reu] (0,1)--(1.25,1.6)--(2.95,3)--(2.25,4)--(0,4)--(0,1);
\draw[fill=DarkOceanBlue](1.25,1.6)--(2.95,3)--(2.25,4)--(4,4)--(4,1.9)--(2.75,2)--cycle;
\draw[very thick, Crimson,rounded corners] (0,1)--(1.25,1.6)--(2.75,2)--(4, 1.9);
\draw[thick] (0,0) -- (4,0) -- (4,4) -- (0,4) -- cycle;
\node[right] at (1.7, 0.8) (e2) {\fontsize{12}{5} \selectfont $\Omega$};
\node[right, rotate=22] at (0.2, 0.95) (e2) {\fontsize{8}{5} \selectfont $\delta \Omega$};
\node[right] at (0.8, 3.3) (e2) {\fontsize{12}{5} \selectfont $\Phi$};
\end{scope}
\begin{scope}[my square/.style={rectangle,draw=red,minimum width=1em, minimum height=1em}, xshift=116]
\draw[fill=Reu] (0,1)--(1.25,1.6)--(2.95,3)--(2.25,4)--(0,4)--(0,1);
\draw[fill=DarkOceanBlue](1.25,1.6)--(2.95,3)--(2.25,4)--(4,4)--(4,1.9)--(2.75,2)--cycle;
\draw[very thick, Crimson,rounded corners] (0,1)--(1.25,1.6)--(2.75,2)--(4, 1.9);
\draw[thick] (0,0) -- (4,0) -- (4,4) -- (0,4) -- cycle;
\draw (1.25,1.6) pic{mysquare={Crimson, p}};
\node[right] at (1.7, 0.8) (e2) {\fontsize{12}{5} \selectfont $\Omega$};
\node[right, rotate=22] at (0.2, 0.95) (e2) {\fontsize{8}{5} \selectfont $\delta \Omega$};
\node[right] at (0.8, 3.3) (e2) {\fontsize{12}{5} \selectfont $\Phi$};
\end{scope}
\begin{scope}[my square/.style={rectangle,draw=red,minimum width=1em, minimum height=1em}, xshift=232]
\draw[fill=Reu] (0,1)--(1.25,1.6)--(2.95,3)--(2.25,4)--(0,4)--(0,1);
\draw[fill=DarkOceanBlue](1.25,1.6)--(2.95,3)--(2.25,4)--(4,4)--(4,1.9)--(2.75,2)--cycle;
\draw[very thick, Crimson,rounded corners] (0,1)--(1.25,1.6)--(2.75,2)--(4, 1.9);
\draw[thick] (0,0) -- (4,0) -- (4,4) -- (0,4) -- cycle;
\draw (1.25,1.6) pic{mysquare={Crimson, p}};
\draw (2.735,3.3) pic{mysquare={yellow, q''}};
\draw ($ (1.25,1.6)!0.5!(2.95,3) $) pic{mysquare={yellow, q'}};
\node[right] at (1.7, 0.8) (e2) {\fontsize{12}{5} \selectfont $\Omega$};
\node[right, rotate=22] at (0.2, 0.95) (e2) {\fontsize{8}{5} \selectfont $\delta \Omega$};
\node[right] at (0.8, 3.3) (e2) {\fontsize{12}{5} \selectfont $\Phi$};
\end{scope}
\node[right] at (1.7, -0.3) (e2) {\fontsize{12}{5} \selectfont a};
\node[right] at (5.75, -0.3) (e2) {\fontsize{12}{5} \selectfont b};
\node[right] at (9.8, -0.3) (e2) {\fontsize{12}{5} \selectfont c};
\end{tikzpicture}
\end{document}
Could you show me how to draw the last square (where part of the red line is modified)!