Doors leading to the south you can paint in red or green you can not use blue and black To a lesser extent should refrain from yellow and brown

What is the correctly punctuated version of this sentence?
Doors leading to the south, you can paint in red or green, you can not use blue and black. To a lesser extent, should refrain from yellow and brown.