pass the tests by converting hexadecimal to rgb