This website requires JavaScript.
Explore
Help
Sign In
salt
/
bin
Watch
1
Star
0
Fork
0
You've already forked bin
Code
Issues
Pull Requests
Releases
Wiki
Activity
48761983ef
bin
/
cconvert
3 lines
73 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Lots: Miscellaneous style changes
2018-09-16 12:18:41 -05:00
#!/usr/bin/env bash
cconvert: Add hex to RGB color converter Shamelessly stolen from https://stackoverflow.com/questions/7253235/convert-hexadecimal-color-to-decimal-rgb-values-in-unix-shell-script
2018-06-21 09:07:00 -05:00
printf "%d %d %d\n" 0x${1:0:2} 0x${1:2:2} 0x${1:4:2}
Reference in New Issue
Copy Permalink