| CPC G06T 11/001 (2013.01) | 16 Claims |

|
1. A system comprising:
a display screen, wherein the display screen supports a plurality of colors;
a processor resource; and
a memory resource having instructions stored thereon, wherein the instructions are executable by the processor resource to:
cause a virtual environment and an information element (IE) to present on the display screen, wherein the IE is displayed by a first pixel of the display screen and a surrounding region of the virtual environment is displayed by a plurality of pixels of the display screen and wherein the IE is to provide at least one of: information about the virtual environment and information usable by a user to interact with the virtual environment;
determine that a color of the IE is to be changed based on a color difference between the IE and the surrounding region; and
change the color of the IE in response to the determination, including to:
compute an average numerical value of a first plurality of numerical values, wherein each numerical value of the first plurality of numerical values corresponds to a pixel of the plurality of pixels,
compare a first numerical value corresponding to the color of the IE and the average numerical value,
compute a Euclidean distance between each of a second plurality of numerical values and the average numerical value, wherein the second plurality of numerical values are numerical values corresponding to the plurality of colors,
select a color from among the plurality of colors having a highest Euclidean distance from the average numerical value, and
change the color of the IE to the selected color.
|