Full-color 3D printing technology has become more and more popular for industrial manufacturing applications. The voxelization of color 3D models and the expression of appearance colors become more and more important. To illustrate the complex appearance and internal characteristics of 3D models, we present a voxelization algorithm of the color 3D models for color 3D printing in this paper. Specifically, we use the 3D model of 3MF with color appearance features for surface voxelization first. Then, we propose an improved scan line filling algorithm to realize the voxelization of the interior of the model and obtain the color voxel model. Finally, to improve the high quality of color printing, we propose a surface color inward diffusion algorithm, which can make the surface color of the voxel model diffuse inward and further express the surface color of the voxel model. The experimental results show our proposed method can obtain an effective color voxel model and accurately. express the color of the voxel model surface, which can enhance the color effect of the color model and realize the control of voxels.