\documentclass[twoside]{scrartcl}
\usepackage[automark]{scrlayer-scrpage}
\usepackage{xcolor}
\usepackage{blindtext}
%\DeclareLayer[clone=scrheadings.head.oneside,
%  contents={%
%    \color{yellow}%
%    \rule[-\dp\strutbox]%
%      {\layerwidth}{\layerheight}%
%  }%
%]{scrheadings.head.oneside.background}
%\DeclareLayer[clone=scrheadings.head.odd,
%  contents={%
%    \color{yellow}%
%    \rule[-\dp\strutbox]%
%      {\layerwidth}{\layerheight}%
%  }%
%]{scrheadings.head.odd.background}
%\DeclareLayer[clone=scrheadings.head.even,
%  contents={%
%    \color{yellow}%
%    \rule[-\dp\strutbox]%
%      {\layerwidth}{\layerheight}%
%  }%
%]{scrheadings.head.even.background}
%\AddLayersAtBeginOfPageStyle{scrheadings}{%
%  scrheadings.head.oneside.background,%
%  scrheadings.head.odd.background,%
%  scrheadings.head.even.background%
%}
\DeclareLayer[%
  clone=scrheadings.foot.odd,%
  contents={%
    {\ }%
    \footnotesize%
    {\color{blue}\headmark}%
    \hspace*{0.75cm}%
    {\color{blue}\rule[-5pt]{1.25pt}{15pt}}%
    \hspace*{0.75cm}%
    \begin{minipage}[b]{1.5cm}%
      \normalsize\textbf{\pagemark}%
    \end{minipage}%
    \hspace{-1.85cm}%
  }%
]{scrheadings.foot.odd.slcd}
\DeclareLayer[%
  clone=scrheadings.foot.even,%
  contents={%
    \null\hspace{-1.85cm}%
    \footnotesize%
    \begin{minipage}[b]{1.5cm}
      \raggedleft\normalsize\textbf{\pagemark}%
    \end{minipage}%
    \footnotesize%
    \hspace*{0.75cm}%
    {\color{blue}\rule[-5pt]{1.25pt}{15pt}}%
    \hspace*{0.75cm}%
    {\color{blue}\headmark}%
  }%
]{scrheadings.foot.even.slcd}
\AddLayersAtBeginOfPageStyle{scrheadings}{%
  scrheadings.foot.odd.slcd,%
  scrheadings.foot.even.slcd%
}
\pagestyle{scrheadings}
\begin{document}
\blinddocument
\end{document}