1
0
mirror of https://github.com/thangisme/notes.git synced 2024-06-06 14:50:47 +00:00
notes/node_modules/css-color-names/getcolors.sh
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05:00

7 lines
190 B
Bash
Executable File

#!/usr/bin/env bash
curl -sS 'http://xahlee.info/js/css_color_names.html' \
| grep 'style="background-color' \
| sed -e :a -e 's/<[^>]*>/ /g;/</N;//ba' \
| awk '{print $1, $2}' \
| sort