Treemap is a very powerful visualisation for hierarchical data.
I found it surprising, that for Color you always have to select an aggregation method. Color has to be a continuous value and cannot be a category.
In other visulizations like bar chart you have possibility to select aggregation method "(None)" and then you get color by category value.
In Treemap "(None)" is not possible to select, hence you can only color by continuous value from an aggregation method, not by categorial data. As a work arround you can use "First" or "Min", but this is not really user friendly or obvious.
I think color by categorial data would be very useful for lots of use cases of Treemap.
P.S. Tableau and PowerBI support color by categorial or continuous data. See attached screenshots