diff --git a/docs/component_branding.md b/docs/component_branding.md
index 94ba7bc6c1..a6cf7f7b9e 100644
--- a/docs/component_branding.md
+++ b/docs/component_branding.md
@@ -16,12 +16,12 @@ To add colours to a component, modify the component to follow the example below.
brand_helper = GovukPublishingComponents::Presenters::BrandHelper.new(brand)
%>
-
-
">
+
diff --git a/lib/govuk_publishing_components/presenters/brand_helper.rb b/lib/govuk_publishing_components/presenters/brand_helper.rb
index 479e335883..7c02a7f34d 100644
--- a/lib/govuk_publishing_components/presenters/brand_helper.rb
+++ b/lib/govuk_publishing_components/presenters/brand_helper.rb
@@ -5,12 +5,16 @@ def initialize(brand)
@brand = brand if brand
end
- def get_brand
+ def brand_class
"brand--#{@brand}" if @brand
end
- def get_brand_element(attribute)
- "brand__#{attribute}" if @brand
+ def border_color_class
+ "brand__border-color" if @brand
+ end
+
+ def color_class
+ "brand__color" if @brand
end
end
end