Add HexColor validator

This validator is useful for ensuring certain attributes should be valid
hex-color values.