La rappresentazione informatica del colore A representação informática da cor Computergestützte Darstellung der Farbe La représentation informatique de la couleur Representación computarizada del color

Colour representations

In order to be able to handle colours correctly and to exchange colorimetric information it is necessary to have the means to categorize them and to choose them. Thus, it is not uncommon to have the choice of the colour of a product before it is even manufactured. In this case, a palette is presented, in which the appropriate colour is selected. Most of the time, the product (vehicle, building, etc) has a colour which corresponds to that selected.

Likewise in IT, it is essential to have a means of choosing a colour among all those that are usable. However, the possible colour range is very vast and the image processing chain passes through various peripheral devices: for example, a digitizer (scanner) followed by image improvement software, and finally a printer. It is thus necessary to be able to represent the colour in a reliable way in order to ensure coherence between these various peripheral devices.

The mathematical representation of a set of colours is thus called the "colour space". There are several, among which the best known are:

The colour spectrum that a peripheral display device allows to be shown is called a gamut or colorimetric space. The colours not belonging to the gamut are called out-of-range colours.

Selection of colours in software

Most graphic software offers means of selecting a colour in an interactive way. The main one is often the swatch chart, that is, the colours are presented in a table in which they are classified by nuances:

Swatch chart

More and more software is integrating more powerful tools however, allowing the choice of a colour from a vast range. Thus, in the colour selector below, the hue is represented by a chromatic disc, while luminance is represented by a vertical selector offering the colour nuances ranging from black to white.

Colour selector

In the selector below on the other hand, the hue is presented as an X-coordinate of the selector on the left, and the saturation is presented as a Y-coordinate. The selector on the right-hand side makes it possible to regulate the luminosity:

Colour selector

Gamma factor

The criterion that defines the nonlinear character of the luminous intensity of an element is called the facteur gamma.

Thus, the luminance of a computerscreen is nonlinear insofar as  :

  • the luminous intensity which it emits is not linearly proportional to the voltage applied, but corresponds to a function curve of the screen gamma (usually between 2.3 and 2.6):
    I ~ Vgamma
  • the luminous intensity perceived by the eye is not proportional to the quantity of light actually emitted

In order to overcome this and to obtain a satisfactory reproduction of the luminous intensity, it is possible to compensate for luminance by applying a transformation called a "gamma correction".

Gamma correction

Thus, there is a gamma transformation corresponding to each peripheral display device, which is itself capable of being adapted to the perception of the user.

Colour management

It is easy to understand the interest regarding image colours when passing through several peripheral devices (a digital chain made up for example of a scanner, an image processing software and then a printer) in order to make sure that the image at the end of the processing chain has colours close to those of the original image. The group of operations that are necessary to guarantee the good conservation of the colours of an image is known as "colour management".

In order to be able to guarantee colour coherence, it is essential to calibrate (or gauge) all the devices or tools of the digital chain. The calibration (or gauging) of a device or tool thus consists in describing all the colours which it is capable of acquiring or producing (i.e. its gamut) in an independent colour space (for example CIE Lab or CIE XYZ) in a file called an ICC profile (International Color Consortium).

This ICC profile is integrated in the image and conveys the entire set of transformations which it underwent along the image processing chain, as a follow-up log.

Last update on Thursday October 16, 2008 02:43:16 PM.This document entitled « Computer representation of colour » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.

Best answers for « Computer representation of colour » in :
Data transmission - Introduction Show Data representation The purpose of a network is to transmit information from one computer to another. To do this, you first have to decide how to encode the data to be sent, in other words its computer representation. This will differ according to...
Representation of real numbers and integers Show Representing a number in a computer Representing (or encoding) a number means to express it in binary form. Representing numbers in a computer is necessary in order for it to be able to store and manipulate them. However, the problem is that a...
Connecting two computers with a USB cable. ShowConnecting two computers with a USB cable. What to choose? How does it work? What to do? If you have to transfer huge files from one PC to another, using a flash disk or burning a CD-ROM can seem like a waste of time. One wise way...
How to test your computer's power supply ShowHow to test your computer's power supply To be able to test your computer's power supply, you can follow the instructions below: 1. Turn off your power switch and plug it out from the power supply. 2. Remove the cable from the CPU and start...
Making calls from your computer ShowIntroduction to VoIP Since the 21st century, the bell telephone first developed by Alexander Graham Bell has made a huge evolution. Nowadays people can even make voice calls from their computer. There are several ways for making calls throughout...
What is a computer bus? ShowIntroduction to the concept of a bus A bus, in computing, is a set of physical connections (cables, printed circuits, etc.) which can be shared by multiple hardware components in order to communicate with one another. The purpose of buses is to...
Computer - History ShowThe history of the computer owes its existence to the fact that people, who are lazy by nature, have always sought to improve their ability to calculate, in order to reduce errors and save time. Origins: The abacus The "abacus" was invented in the...