This example is also very big. Generally, try to reduce as much as possible, removing everything what is not relevant for the problem. So people could more easily help. Here, for example, many packages such as
amsthm
,
bm
,
enumitem
,
biblatex
etc. are not relevant. Does a tester has to install
biblatex
? This code is not compilable.
mybgcolor
is undefined and leads to a compiler error - readers have to debug it before they can even test your actual problem. Chapters are not supported by scrartcl, but by scrbook and scrreprt.
Perhaps you don't have much experience in LaTeX or in a forum like this. I just explain to tell you what's the best way to get help. In most cases, a good example to a problem leads to a quick and clear solution. Very helpful in this regard:
Here are compilable example documents which do what you desire:
Fancy chapter headings with TikZ. In the comments to this post there's an example for scrartcl together with scrpage2.
Stefan