Can I use group by and continuous colour scales together in Plotly Express?


I’m wondering if it’s possible to use “group by” with continuous colour scales. What I want to do is to have separate continuous colour scales for each group that I’m plotting. In this case it’s just three groups. But I’d like to have various shades of one unique colour for each group based on a value in my pandas datagram. Is this possible and if so how can I do that? My code is currently working but only using solid colours for each group as opposed to continuous colour scales for each. Thank you!