diff --git a/docs/4.0/utilities/colors.md b/docs/4.0/utilities/colors.md
index 10d6e5ae34..7543aa0bfc 100644
--- a/docs/4.0/utilities/colors.md
+++ b/docs/4.0/utilities/colors.md
@@ -30,7 +30,7 @@ Similar to the contextual text color classes, easily set the background of an el
{% example html %}
{% for color in site.data.theme-colors %}
-
.bg-{{ color.name }}
{% endfor %}
+.bg-{{ color.name }}
{% endfor %}
.bg-white
{% endexample %}
@@ -40,7 +40,7 @@ When `$enable-gradients` is set to true, you'll be able to use `.bg-gradient-` u
{% example html %}
{% for color in site.data.theme-colors %}
-.bg-gradient-{{ color.name }}
{% endfor %}
+.bg-gradient-{{ color.name }}
{% endfor %}
{% endexample %}
{% callout info %}