Verifies whether each input line contains a valid three- or six-digit hexadecimal number, commonly used as color codes in CSS and other technologies. Each number must begin with the "#" sign.
I've seen other regexes for this which use individual expressions for a three-digit number and a six-digit...
Submitted by Mr. Lance E Sloan - 2 days ago