
Figure 1: The RGB space
hue. Indeed hue is enough to recognize the colour,
except when the colour is very pale or very somber.
This space is called HLS (Hue, Lightness, Satura-
tion) where saturation corresponds to the quantity of
”white” in the colour and lightness corresponds to the
light intensity of the colour. This space can be repre-
sented through a cylinder or a bi-cone (cf. figure 2).
H is defined as an angle but we can also represent it
in the interval [0,255] as the other components L and
S. The difference between H and the other compo-
nents is that its definition interval loops which means
that 0 and 256 are the same points. The ”pure” red
(represented in RGB space by the point (255,0,0))
corresponds to an angle equal to 0 for h, a saturation
s equal to 255 and a lightness l equal to 128.
Figure 2: The HLS space
For this problem, we limit ourselves to the nine fun-
damental colours defined by the set T representing a
good sample of colours (dimension H) :
T = {red, orange, yellow, green, cyan, blue, pur-
ple, magenta, pink}
This set corresponds to the seven colours of New-
ton (Roire, 2000) to which we have added colour pink
and colour cyan. Of course, this choice is not restric-
tive, we can modify the set of colours as desired.
3 COLOUR REPRESENTATION
As we have seen HLS space is convenient for our
problem but it is a non UCS (uniform colour scale)
space (Truck, 2002), (Herrera and Martinez, 2001).
Indeed our eyes don’t perceive small variations of hue
when colour is green (h = ±85) or blue (h = ±170)
while they perceive it very well with orange (h = 21)
for example.
Thus to model the fact that the distribution of
colours is not uniform on the circle of hues, Truck
and al. propose to represent them with trapezoidal or
triangular fuzzy subsets (Truck et al., 2001a).
For each colour of T they built a membership func-
tion varying from 0 to 1 (f
t
with t ∈ T ). If this func-
tion is equal to 1, the corresponding colour is a ”true
colour” (cf. figure 3).
These functions were built using colours definition
(www.poupre.com). For each fundamental colour, the
associated interval is defined according to linguistic
names of colours. For example to construct f
yellow
,
we can use colour ”mustard” whose hue is equal to 55
and whose membership to f
yellow
is equal to ±0.5.
For some colours, the result gives a wide interval.
It is the case for the colours ”green” and ”blue” which
are represented by trapezoidal fuzzy subsets.
For the construction of these functions, in this ar-
ticle we suppose that two functions representing two
successive colours have their intersection point value
equal to 1/2. It means that when h corresponds to an
intersection point it can be assigned to both colours
with the same weight.
H
f
21 43 85 128 170
191
213
234 255
0
1
re
Figure 3: The dimension H
As usual (Bouchon-Meunier, 1995) we denote
(a, b, α, β) a trapezoidal fuzzy subset (cf. figure 4).
When the kernel is reduced to only one point, it is a
triangular subset denoted by (a, α, β) since a = b.
Figure 4: Trapezoidal fuzzy subset
ICEIS 2004 - ARTIFICIAL INTELLIGENCE AND DECISION SUPPORT SYSTEMS
506