Check if a given string is a valid Hexadecimal Color Code or not
Master Competitive Programming (Live).Given a string str, the task is to check whether the given string is an HTML Hex Color Code or not. Print Yes if it is, otherwise print No. Examples: Input: str = “#1AFFa1” Output: Yes.