How to display a colour with Streamlit?

I have some data, which are x, y coordinates corresponding to centroids of coloured shapes. I’d like to display those coordinates along with the colour of the shape, something like this:

It seems like Streamlit has no way to display colour, so the best I could do is make an opencv image, display it, and then have text under it. Is there any better way?