Epic Interview Question

(RGB) hexadecimal parser.