While postincrement is magical, it does not recognize strings containing hex representations of numbers.
You should convert your (string) input to numbers, increment the number, and only convert back to hex when displaying. Do not try to do arithmetic on strings containing hex representations of numbers.