Use the Divider module to add a colored line between modules or sections.
...
Add this module to a page
Open the Page Builder on the page you want to edit. This can be:
The site’s homepage.
A Refined Page.
The landing page of a Jira project, Jira Service Management project, or Confluence Space.
Hover your mouse over the desired location on the page and click the + Add module button that appears.
Click Decorative in the left-hand menu > Divider.
...