Fixed an issue with colors based on arrays

The colored tab in the UI was black instead of matching the current color.