Color? getActiveColor(int index) { return activeColors.isNotEmpty ? activeColors[index] : activeColor; }