woothemes/woocommerce — pull request #1155 by GeertDD (2012-06-14 08:28:32+00:00)
Title: Fix color modifications on shorthand hex colors

The `woocommerce_hex_darker` and `woocommerce_hex_lighter` functions didn't work correctly with shorthand hex colors like `#333`. These shorthand notations can be entered by the admin though.

For example: `#333` would become a bit pinkish `#856866` instead of the lighter gray `#858585`.