Spaces:
Paused
Paused
Upload app.py with huggingface_hub
Browse files29 unmodified lines303132333435363729 unmodified lineshtml = '<div style="text-align: center;"><h2>Color Palette</h2><div style="display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;">'for hex_color in hex_colors:html += f'''<div style="background-color: {hex_color}; width: 80px; height: 80px; border: 2px solid #333; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: {hex_color};"><span style="background: white; padding: 2px 5px; border-radius: 3px; font-size: 12px; font-weight: bold;">{hex_color}</span></div>'''html += '</div></div>'29 unmodified lines30313233343536373829 unmodified lineshtml = '<div style="text-align: center;"><h2>Color Palette</h2><div style="display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;">'for hex_color in hex_colors:html += f'''<div style="display: flex; flex-direction: column; align-items: center; gap: 5px;"><div style="background-color: {hex_color}; width: 80px; height: 80px; border: 2px solid #333; border-radius: 10px;"></div><span style="font-size: 12px; font-weight: bold;">{hex_color}</span></div>'''html += '</div></div>'
app.py+3-2