HOME

TheInfoList



OR:

Reverse video (or invert video or inverse video or reverse screen) is a computer display technique whereby the background and text color values are inverted. On older computers, displays were usually designed to display text on a black background by default. For emphasis, the color scheme was swapped to bright background with dark text. Nowadays the two tend to be switched, since most computers today default to white as a background color. The opposite of reverse video is known as ''true video''. Video is usually reversed by inverting the brightness values of the pixels of the involved region of the display. If there are 256 levels of brightness, encoded as 0 to 255, the 255 value becomes 0 and vice versa. A value of 1 becomes 254, 2 of 253, and so on: ''n'' is swapped for ''r'' - ''n'', for ''r'' levels of brightness. This is occasionally called a
ones' complement The ones' complement of a binary number is the value obtained by inverting all the bits in the binary representation of the number (swapping 0s and 1s). The name "ones' complement" (''note this is possessive of the plural "ones", not of a sing ...
. If the source image is of middle brightness, reverse video can be difficult to see, 127 becomes 128 for example, which is only one level of brightness different. The computer displays where it was most commonly used were
monochrome A monochrome or monochromatic image, object or palette is composed of one color (or values of one color). Images using only shades of grey are called grayscale (typically digital) or black-and-white (typically analog). In physics, monochrom ...
and only displayed two values so this issue seldom arose. Reverse video is commonly used in software programs as a visual aid to highlight a selection that has been made as an aid in preventing
description error A description error or selection error is an error, or more specifically a human error, that occurs when a person performs the correct action on the wrong object due to insufficient specification of an action which would have led to a desired result ...
s, where an intended action is performed on an object that is not the one intended. It is more common in modern desktop environments to change the background to other colors such as blue, or to use a semi-transparent background to "highlight" the selected text. On a terminal understanding
ANSI escape sequence ANSI escape sequences are a standard for in-band signaling to control cursor location, color, font styling, and other options on video text terminals and terminal emulators. Certain sequences of bytes, most starting with an ASCII escape charac ...
s, the reverse video function is activated using the escape sequence CSI 7 m (which equals SGR 7).


Accessibility

Reverse video is also sometimes used for
accessibility Accessibility is the design of products, devices, services, vehicles, or environments so as to be usable by people with disabilities. The concept of accessible design and practice of accessible development ensures both "direct access" (i. ...
reasons. When most computer displays were light-on-dark, it was found that users looking back and forth between a white paper and dark screen would experience
eyestrain Eye strain, also known as asthenopia (from Greek ''a-sthen-opia'', grc, ἀσθενωπία, ), is a common eye condition that manifests through non-specific symptoms such as fatigue, pain in or around the eyes, blurred vision, headache, and ...
due to their pupils constantly dilating and contracting. Flicker was also an issue with early white-background displays. Today, people with visual impairments such as ocular toxocariasis may find it less tiring to the eyes to work with a predominantly black screen, since modern operating systems usually display a lot of white in a normal use. For the same, white-dominant reason, reverse video is an efficient way to read or write text in a dark environment, since the darkness of the screen may blend into the darkness of the environment. A number of operating systems, graphical programs, and websites offer dark modes, which serves a similar purpose as what was originally true video and is now reverse video in modern systems.


References

Display technology {{compu-graphics-stub