You are viewing a single comment's thread. Return to all comments →
import re css = [input().strip() for _ in range(int(input()))] colors = [re.findall(r'#([\dA-F]{6}|[\dA-F]{3})(?=.*;)',line,re.IGNORECASE) for line in css] [print(f"#{hx}") for group in colors for hx in group]
Seems like cookies are disabled on this browser, please enable them to open this website
Hex Color Code
You are viewing a single comment's thread. Return to all comments →