Patent attributes
A method for improving visibility of contents displayed on a GUI by providing a dark viewing mode that preserves user-generated formatting and/or style contained in the contents is disclosed. The method includes receiving content for displaying on the display, parsing the received content into one or more objects, based on at least a formatting characteristic of the objects, and comparing for each object a first color characteristic of the object with a second color characteristic to determine if a contrast between the first color characteristic and the second color characteristic satisfies a threshold requirement. Upon determining that the threshold requirement is not satisfied, the method includes adjusting the first characteristic, and displaying the objects with the adjusted first characteristic.