Closed issue #261.

Cast to intger full value of color in 255 system.
Not only float value of each color.