Right now, this question has 3 downvotes and 4 close votes because it's unclear what they're asking. If you ask me, that's unfair. To me, it's very clear what they're asking: Given a hex2 color code of eight hexadecimal digits, you must output an rgba color code, with the 3 color channels integers in a range from 0-255, and an alpha channel number in a range from 0-1. The unclarity, I'm fairly sure, comes from the output format.
There are a few comments asking about output format, saying the question should allow flexible output and not just an array of numbers, saying that not every language can do that, that it constrains code unnecessarily, etc. I agree. So why not make it so every challenge has flexible output? Whether you print to stdout or return a value shouldn't matter, and I think it's unfair that this question is going to get closed over a technicality like that.