Fixed a problem that alpha value becomes zero

Fixed a problem that alpha value becomes zero next to transparent when you enter, such as "# FF0000" or "# F00" when you specify the color in the Image class

Signed-off-by: Onishi Takeshi <march.hare.come@gmail.com>