private int countUniqueColors(List<GTreeNode> children) {
			Iterator<GTreeNode> iterator = iterator(true);
			Set<Color> set = new HashSet<>();
			while (iterator.hasNext()) {
				GTreeNode node = iterator.next();

				if (node instanceof ColorNode colorNode) {
					set.add(colorNode.getColor());
				}
			}
			return set.size();
		}
Tree for showing colors organized by similar colors and reference relationships. This was
built as a developer aid to help consolidate similar colors in Ghidra. This may be removed
at any time.
Ghidra/Framework/Docking/src/main/java/docking/theme/gui/ThemeColorTree.java