Skip to content

Commit

Permalink
cconvert: Add hex to RGB color converter
Browse files Browse the repository at this point in the history
  • Loading branch information
rehashedsalt committed Jun 21, 2018
1 parent e0f4b57 commit 8d91909
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cconvert
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
printf "%d %d %d\n" 0x${1:0:2} 0x${1:2:2} 0x${1:4:2}

0 comments on commit 8d91909

Please sign in to comment.