As the popularity of color peripheral devices grows, the problem of color inconsistency among color devices becomes more and more important. The ICC Profile, specified by the International Color Consortium (ICC), is a reasonable solution to achieve color consistency. This paper describes an implementation of automatic scanner ICC Profile generator. The generator mainly consists of a reference-file-parser, a target-image-analyzer, and a profile-parameters-evaluator. The reference-file-parser retrieves the XYZ and Lab values of color patches from the ANSI CGATS.5 compliance file. The RGB Values of color patches are automatically extracted from the scanned ANSI IT8.7/2 target by the target-image-analyzer. Finally, the parameters that are required for profile construction are generated using the profile-parameters-evaluator. Based on the test of 4 types of scanners, the average Delta E(*)ab of less than 3 is achieved.