Color picker in React

Hi, I am developing a panel with React for Grafana. I have noticed many different Color picker components in @grafana/ui and am wondering which one is the “correct” one to use and exactly what attributes do I need to assign it there.

Thanks for the answers in advance!

The one named ColorPicker in @grafana/ui

Thanks I managed to implement it. But by the shape and your react graph example I can see that this is meant more or less to be used with your legend. Can it be used in the visual settings tab as well or is it designed specifically for the legend?