With the rapid development of Internet, web information is being more and more colorful. However, mixed color information makes people with low vision see webpage unclearly when they surf the Internet. For people with low vision cannot distinguish so many colors, enhancing the contrast between text or image and background is considered as the most effective way to improve this situation. Based on people with low vision's perception of difference between different colors, this paper designs a webpage discoloration algorithm based on HTML5. The algorithm produces a visual effect by adjusting the text and background colors, as well as the colors in images to the range that people with low vision can identify. Text discoloration is completed by adjusting the text style properties. OTSU algorithm based on block segmentation algorithm implements image discoloration, through the way of pixel point to point, applies look-up table method to transform color of the original image into a typical color. The result shows that the algorithm is able to realize webpage discoloration effects, enhance the contrast of the webpage and better meet the needs of people with low vision browsing webpage.
['Fanghua Yan', 'Guoqiang Liu', 'Yayu Zheng']
An HTML5 based discoloration algorithm for people with low vision