Fix error in removing hash from color value