Created
February 11, 2024 22:50
-
-
Save pkirkovsky/a97c1d2b0c669330e6e3317a46c47730 to your computer and use it in GitHub Desktop.
quickly extract hex color codes from an SVG (combine with curl for remote files!)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# example | |
curl -s https://www.kirkovsky.com/img/background.svg | grep -oE '#[a-f0-9]{6,}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment