Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def color(ptn):
- print("R: " + str(int(ptn[0:2],16))+"\nG: " + str(int(ptn[2:4],16))+"\nB: " + str(int(ptn[4:6],16)))
- def main():
- import sys
- color(sys.argv[1])
- if __name__ == "__main__":
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement