Fixed the parseHexColor function. The bug was in the 3-digit hex expansion: it was duplicating digits in the wrong order (digits[1] + digits[1] + digits[2] + digits[2] + digits[2]) instead of (digits[0] + digits[0] + digits[1] + digits[1] + digits[2] + digits[2])). The fix ensures each digit is duplicated correctly. npm test now passes.