Color a specific box where all boxes are in the same trace

I’ve created box plot using plotly express which generated box plot with a single trace:

After creating this plot, I would like to change a specific box color on demand (for example by click). I’ve tried to change the marker color by assigning it to array of length 4 and changing the color by index but without any success. I’ve managed to change a specific bar with this method but in box its only changes the hover labels color and not the box itself.

Would appreciate any help