fixed an bug when parse color with #000 format