1. A method for facilitating modification of text colors in a digital image, the method comprising: determining, by a processor, a first set of text colors from the digital image, wherein the first set of text colors are determined based on colors of text in the digital image and the text of the digital image is extracted into a plurality of layers based on color and spatial proximity; displaying, by the processor, the first set of text colors on a display associated with a computing device; receiving, by the processor, an input for selecting a plurality of colors from the first set of text colors; displaying, by the processor, a second set of text colors on the display in response to the selection of the plurality of colors, wherein the second set of text colors corresponding to each of the selected text color comprise a set of replacement text colors; receiving, by the processor, an input for selecting a replacement text color, from the set of replacement text colors, for each of the selected plurality of colors; converting, by the processor, text color that comprises one or more of the selected plurality of colors to corresponding selected replacement text color based on the extracted layers; generating, by the processor, a modified digital image based on the converting; and performing optical character recognition (OCR) on the modified digital image, wherein the number of text colors for text that undergoes OCR of the modified digital image is less than the number of text colors of the digital image.