(Naive) Hierarchical color scale implementation.
Adapted from Waldin et al., 2019.
The weight on the index vs. the group is controlled by the angles alpha and beta:
alpha: 120; beta: 50 (positional index has more weight)
alpha: 5; beta: 120 (group has more weight)
Rotational shift not implemented (zoom).