Rewrote the tests to be more concise.
Added tests for hex colors. The ones that it shouldn't accept are not currently passing.
My guess is that the regular expression allows part of too long of a number.