soup = BeautifulSoup(data, "html.parser") divs = soup.find_all('div', class_='frame ctooltip') I get this result here and I need to pull out Hex values ββfrom it, preferably somehow grouped in 5 pieces:
<div class="frame ctooltip"> <div style="background: #0A1C28"></div> <div style="background: #41848F"></div> <div style="background: #72A7A3"></div> <div style="background: #97C0B7"></div> <div style="background: #EEE9D1"></div> </div>, <div class="frame ctooltip"> <div style="background: #F19CA2"></div> <div style="background: #F8D7D0"></div> <div style="background: #FFE9CD"></div> <div style="background: #BFE9FF"></div> <div style="background: #B7D7D9"></div> </div>,.........