Handles invalid hex colors