Salt
8d919094d5
Shamelessly stolen from https://stackoverflow.com/questions/7253235/convert-hexadecimal-color-to-decimal-rgb-values-in-unix-shell-script
3 lines
65 B
Bash
Executable File
3 lines
65 B
Bash
Executable File
#!/bin/bash
|
|
printf "%d %d %d\n" 0x${1:0:2} 0x${1:2:2} 0x${1:4:2}
|