{% set nav_component_item_header_id = 'nav-component-item-header--' ~ component_item.id %}
{% set classes = ['component', 'navigation-component-item'] %}
<div id="{{ nav_component_item_header_id }}" {{ attributes.addClass(component_wrapper_class) }}>
  {% set color_field = divider_section.field_divider_section_color.value %}
  {% for color in color_field %}
    <div{{ content_attributes.addClass('component-item--content')}} style="background-color: {{color.color }}">
      {{ content }}
    </div>
  {% endfor%}
</div>