Create a function that determines whether a string is a valid hex code.
A hex code must begin with a pound key # and is exactly 6 characters in length. Each character must be a digit from 0-9 or an alphabetic character from A-F. All alphabetic characters may be uppercase or lowercase.
IsValidHexCode("#CD5C5C") ➞ true
IsValidHexCode("#EAECEE") ➞ true
IsValidHexCode("#eaecee") ➞ true
IsValidHexCode("#CD5C58C") ➞ false
// Length exceeds 6
IsValidHexCode("#CD5C5Z") ➞ false
// Not all alphabetic characters in A-F
IsValidHexCode("#CD5C&C") ➞ false
// Contains unacceptable character
IsValidHexCode("CD5C5C") ➞ false
// Missing #N/A