make color double