Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Brian Zhang atav32

🎯
Focusing
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
atav32 / convert_itermcolors.py
Last active Jul 13, 2019 — forked from MSylvia/convert_itermcolors.py
Convert .itermcolors file to html hex & rgb
View convert_itermcolors.py
#!/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.