Changing colorof elements

Hello,

I wanted to change the checkboxes. Preferably, I would like to change the color of the border or the background (somehow changing color).

I tried this, but nothing changed:

m = st.markdown(""" <style> div.stCheckbox > checkbox { 
                    background-color: rgb(204, 49, 49); } 
                    </style>""", unsafe_allow_html=True)

b = st.checkbox()

I used something similar on buttons and there it worked. Does anyone know how I can embedd changing colors in my code (maybe in a similar way showed above)?