I am working on a small application that would allow the same functionality as the Lightroom HSL Panel:
I would like my application to behave very similarly to how Lightroom does. Therefore I grouped colors that are similar in their hue values and I've come up with the following groups:
However, so far I am not quite happy with the results that I get by adjusting the HSL values of these groups. I have merged purple and magenta for now since they are the groups I struggle with the most.
So, my question is: Are there any experiments that analyze or even official documents that mention how Lightroom does this grouping? If not how could I adjust and improve the ranges I have so far?
Update: As suggested by one of the answers, I have done some experiments with a HSL color wheel loaded into Lightroom. I was surprised to see that the grouping is also based on Lightness in some cases. I was also partly expecting there to be an overlap in certain colors like yellow and green and I could confirm this.
My program produces much better results already! :-)