1. An image forming apparatus comprising: a color matching unit to match colors of a color document containing one or more images comprising a preset number of colors with colors available in the image forming apparatus; and a color table generator to generate a color table using the matched colors.