fixed hexadecimal to decimal conversion for colourGuessValue