19. The computer readable medium of claim 11 , wherein storing the distinct color values in a color palette table object further comprises: performing a color space conversion of the distinct color values to an output color space to obtain color values in the output color space, wherein the output color space is different from the color space in which the color values are specified; and storing the color values in the output color space in the color palette table.
11. A non-transitory computer-readable medium that stores instructions, which when executed by a processor, causes the processor to generate color information for at least one object in a spreadsheet document described in a markup language, by: parsing the spreadsheet document to generate at least one display list associated with the at least one object by: obtaining distinct color values from a plurality of spreadsheet color table objects, wherein color values in the plurality of spreadsheet color table objects are referenced by the at least one object in the spreadsheet by using a plurality of indexes of the color table objects; storing the distinct color values in a color palette table object, wherein color values in the color palette table object are accessed using a plurality of color palette indexes; and generating a mapping between each index in each of the plurality of color table objects and one of the plurality of color palette indexes that points to a same color value; and rasterizing the at least one object in a frame buffer by processing the display list using the mapping generated during parsing.