A non-transitory computer-readable recording medium that stores a color-conversion program, the color-conversion program causing a Central Processing Unit (CPU) of an image-forming device to function as:
- a centroid acquisition unit that acquires a centroid of a cluster, which is a collection of approximate colors in an input image;
- a color-conversion-information generation unit that generates color-conversion information for converting the input image to an output image;
- and
- an output-image generation unit that converts the color in the input image by using the color-conversion information that is generated by the color-conversion-information generation unit and generate the output image,
- wherein, in the case where the centroid that is acquired by the centroid acquisition unit is included in a specific range in color space, the color-conversion information is information for moving a color in the input image according to movement of the centroid when moving the centroid to a representative color in the specific range.