Fixed issue related to double precision for color

Fixed issue related to double precision for color