Skip to content

Instantly share code, notes, and snippets.


Brian Zhang atav32

Block or report user

Report or block atav32

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
atav32 /
Last active Feb 18, 2020 — forked from MSylvia/
Convert .itermcolors file to html hex & rgb
#!/usr/bin/env python
# Convert .itermcolors files to hex colors for html
import sys
import xml.etree.ElementTree as ET
def rgb_to_hex(rgb):
return '#%02x%02x%02x' % rgb
You can’t perform that action at this time.