Professional Documents
Culture Documents
Applications
2
COLOR THEORY
color theory is a body of practical
guidance to color mixing and the
visual effects of a
specific color combination
3
LIGHT & COLOR
What is light?
“light” = narrow frequency band of electromagnetic
spectrum
The Electromagnetic Spectrum
Red: 3.8x1014 hertz
Violet: 7.9x1014 hertz
5
COLOR MATCHING EXPERIMENTS
Observers had to match a test light by combining
three fixed primaries
Goal: find the unique RGB coordinates for each
stimulus
Tristimulus Values
The values RQ, GQ and BQ for a stimulus Q that fulfill
Q = RQ*R + GQ*G + BQ*B
are called the tristimulus values of Q
R = 700.0 nm
G = 546.1 nm
B = 435.8 nm
6
PSYCHOLOGICAL CHARACTERISTICS OF COLOR
•Dominant frequency (hue, color) •Tần số chiếm ưu thế (sắc độ, màu sắc)
•Brightness (area under the curve), total light •Độ sáng (khu vực dưới đường cong), tổng năng
energy lượng ánh sáng
•Purity (saturation), how close a light appear •Độ tinh khiết (độ bão hòa), cách ánh sáng xuất hiện
to be a pure spectral color, such as red gần như là một màu quang phổ thuần khiết, chẳng
hạn như màu đỏ
Purity = ED − EW
ED = dominant energy density • Độ tinh khiết = ED - EW
EW = white light energy density • ED = mật độ năng lượng vượt trội
Chromaticity, used to refer collectively to • EW = mật độ năng lượng ánh sáng trắng
the two properties describing color •Độ màu, được sử dụng để gọi chung hai thuộc tính
characteristics: purity and dominant mô tả các đặc tính màu sắc: độ tinh khiết và tần số
frequency chi phối
7
PSYCHOLOGICAL CHARACTERISTICS OF COLOR
•Dominant frequency (hue, color)
•Brightness (area under the curve), total light
energy
•Purity (saturation), how close a light appear
to be a pure spectral color, such as red
Purity = ED − EW
ED = dominant energy density
EW = white light energy density
11
COLORIMETRY (CM)
13
Phương pháp giải thích các thuộc tính hoặc
COLOR MODELS hành vi của màu sắc trong một số bối cảnh cụ
thể
Màu cơ bản: 3 màu cơ sở là đủ cho hầu hết các
mục đích
Method for explaining the
properties or behavior of color Màu sắc mà chúng tôi chọn cho các nguồn
within some particular context Gam màu là tập hợp tất cả các màu mà chúng
ta có thể tạo ra từ các màu chính
Primary Colors
3 primaries are sufficient for most
purposes For display, editing, computation,
compression, …?
Hues that we choose for the sources
Several key (very often conflicting) features
Color gamut is the set of all colors that may be sought after:
we can produce from the primary colors Additive (RGB) or subtractive (CMYK)
Separation of luminance and chromaticity
What is the use?
Equal distance between colors are equally
perceivable
14
ADDITIVE VS. SUBTRACTIVE COLOR MODELS
•Additive color models display color as a •Các mô hình màu thêm hiển thị màu do
result of light being transmitted (added) kết quả của ánh sáng được truyền dẫn
the total absence of light would be (thêm vào), sự vắng mặt hoàn toàn của
perceived as black. ánh sáng sẽ được coi là màu đen.
•Subtractive color models display color •Các mô hình màu trừ sẽ hiển thị màu do
as a result of light being absorbed kết quả của ánh sáng bị hấp thụ (bị trừ)
(subtracted) by the printing inks. bởi các loại mực in.
As more ink is added, less and less light is • Càng nhiều mực được thêm vào, ánh sáng
reflected. càng ít bị phản xạ.
Where there is a total absence of ink the • Khi thiếu mực hoàn toàn, ánh sáng thu
resulting light being reflected (from a white được được phản xạ (từ bề mặt trắng) sẽ
surface) would be perceived as white.
được coi là màu trắng.
15
ADDITIVE VS. SUBTRACTIVE
COLOR MODELS
•Additive color models display color as a result
of light being transmitted (added) the total
absence of light would be perceived as black.
•Subtractive color models display color as a
result of light being absorbed (subtracted) by the
printing inks.
As more ink is added, less and less light is reflected.
Where there is a total absence of ink the resulting light
being reflected (from a white surface) would be
perceived as white.
16
6.COLOR MEASUREMENT SYSTEM
Color order systems: Why do we order colors?
Munsell Color System Color Order system
Natural Color System(NCS) ➢Trichromatic theory by Hermann von
Helmholtz
➢The concept of color space
https://www.youtube.com/watch?v=L
1CK9bE3H_s So what are the three parameters?
17
MUNSELL COLOR SYSTEM
One of the Oldest color order systems with The
three main parameters: (H,V, C)
▪ Munsell Hue (H) : five primary:5R, 5Y, 5G,
5B, 5P
▪ Munsell Value (V) : the brightness scale
from 0(black)~10
▪ Munsell Chroma (C) : from /0~/14
The examples of color expression:
5RP 8/2 :
Hue:5RP
Value:8
Chroma:2
18
NATURAL COLOR SYSTEM
(NCS)
The NCS: six elementary color percepts of
human vision — which might coincide with the
psychological primaries: white, black, red,
yellow, green, and blue
If the color data is: 40% whiteness, 10%
blackness, 5% yellowness = 45% redness
S=10, c=r+y=50
Ф=Y90R
→ 1050-Y90R
Yellow – NCS 0580-Y10R (nuance = 5% blackness, 80%
chromaticness, hue = 90% yellow + 10% red.
Blue – NCS 4055-R95B (nuance = 40% blackness, 55%
chromaticness, hue = 5% red + 95% blue.
19
https://www.youtube.com/watch?v=m
POA28IelhE
RGB COLOR MODEL
Lý thuyết cơ bản về mô hình màu RGB
Basic theory of RGB color model Lý thuyết tầm nhìn của tầm nhìn
The tristimulus theory of vision Nó nói rằng mắt người nhận biết màu sắc
It states that human eyes perceive color through thông qua sự kích thích của ba sắc tố thị
the stimulation of three visual pigment of the giác của hình nón của võng mạc
cones of the retina Đỏ, Xanh và Xanh Lá
Red, Green and Blue
Mô hình có thể được biểu diễn bằng khối
Model can be represented by the unit cube đơn vị được xác định trên các trục R, G và
defined on R,G and B axes
B
20
THE RGB COLOR MODEL
An additive model, as with the XYZ color system
Each color point within the unit cube can be
represented as a weighted vector sum of the primary
colors, using vectors R, G and B
C(λ)=(R, G, B)=rR+gG+bB
Chromaticity coordinates for the National Television
System Committee (NTSC) standard RGB primaries
• Color models for hard-copy devices, • Mô hình màu cho các thiết bị sao chép
such as printers cứng, chẳng hạn như máy in
Produce a color picture by coating a paper Tạo một bức tranh màu bằng cách phủ một tờ
with color pigments giấy bằng các sắc tố màu
Obtain color patterns on the paper by Lấy các mẫu màu trên giấy bằng ánh sáng
reflected light, which is a subtractive process phản chiếu, đó là một quá trình trừ
• The CMY parameters • Các thông số CMY
A subtractive color model can be formed with Một mô hình màu trừ có thể được hình thành
the primary colors cyan, magenta and yellow với các màu chính lục lam, đỏ tươi và vàng
Unit cube representation for the CMY model Đại diện khối đơn vị cho mô hình CMY với màu
with white at origin trắng ở gốc
22
CMY COLOR MODELS
23
THE CMY COLOR MODELS
26
tints
INTUITIVE COLOR CONCEPTS white pure color
tones
grays shades
Tint: white pigment added to pure pigment
➔ saturation reduced
Shade: black pigment added to pure pigment black
➔ lightness reduced
Tone: consequence of adding both white and
black pigments to pure pigments Grays
Tints, shades, and tones ➔ different colors of
same hue are produced = black pigments + white pigments
Graphics packages that provide color
palettes to users often employ two or more
color models
27
THE HSV COLOR MODEL
The HSV colors often use a color model based Các màu HSV thường sử dụng mô hình màu dựa
on intuitive concepts trên các khái niệm trực quan
Color parameters are hue (H), saturation (S) and value (V) Thông số màu là màu sắc (H), độ bão hòa (S) và giá trị (V)
Derived by relating the HSV parameters to the direction Dẫn xuất bằng cách liên quan các tham số HSV với
in the RGB cube hướng trong khối RGB
Obtain a color hexagon by viewing the RGB cube along Có được hình lục giác màu bằng cách xem khối RGB
the diagonal from the white vertex to the origin dọc theo đường chéo từ đỉnh trắng đến gốc
Hexcone HSV
The HSV hexcone
Hue được biểu diễn dưới dạng một góc về trục tung
Hue is represented as an angle about the vertical axis
ranging from 0 degree at red to 360 degree nằm trong khoảng từ 0 độ đến đỏ đến 360 độ
Saturation parameter is used to designate the purity of Thông số bão hòa được sử dụng để chỉ định độ tinh
a color khiết của màu
Value is measured along a vertical axis through center Giá trị được đo dọc theo trục dọc thông qua tâm
of hexcone hexcone
28
THE HSV COLOR MODEL
The HSV colors often use a color model based
on intuitive concepts
Color parameters are hue (H), saturation (S) and value (V)
Derived by relating the HSV parameters to the direction
in the RGB cube
Obtain a color hexagon by viewing the RGB cube along
the diagonal from the white vertex to the origin
29
Color components:
HSV COLOR MODEL Hue (H) ∈ [0°, 360°]
HEXCONE Saturation (S) ∈ [0, 1]
Value (V) ∈ [0, 1]
Color definition
Select hue, S=1, V=1
Add black pigments, i.e., decrease V
Add white pigments, i.e., decrease S
Cross section of the HSV hexcone showing
regions for shades, tints, and tones
30
Hue is the most obvious characteristic of a
HSV color
Chroma is the purity of a color
Hue là đặc điểm rõ ràng nhất của một
High chroma colors look rich and full
màu sắc
Chroma là độ tinh khiết của màu sắc Low chroma colors look dull and grayish
• Màu sắc cao trông phong phú và đầy Sometimes chroma is called saturation
đủ
• Màu sắc thấp trông xỉn và xám Value is the lightness or darkness of a color
• Đôi khi sắc độ được gọi là bão hòa Sometimes light colors are called tints, and
Giá trị là độ sáng hoặc tối của màu Dark colors are called shades
Đôi khi màu sáng được gọi là tông màu,
và Màu tối được gọi là màu
31
TRANSFORMATION To move from RGB space to HSV space:
Can we use a matrix? No, it’s non-linear.
HSV-RGB
min = the minimum R, G, or B value
max = the maximum R, G, or B value
0 if max = min
60 g −b
+ 0 if max = r and g b
max − min
g −b
60 + 360 if max = r and g b
h= max − min
b−r
60 + 120 if max = g
max − min
r−g
60 + 240 if max = b
max − min
0 if max = 0
s = max − min v = max
otherwise
max
33
Problem solution: XYZ color system
CIE 1931 COLOR MODEL Tristimulus system derived from RGB
Based on 3 imaginary primaries
Color Matching Experiment All 3 primaries are outside the human visual gamut
Only positive XYZ values can occur
1931 by CIE (Commission Internationale de l’Eclairage)
https://www.youtube.com/watch?v=u
PnhQCE6Gd4
COLOR MODEL YIQ
The CIE L*a*b* color model (Lab) is based on the human Mô hình màu CIE L * a * b * (Lab) dựa trên nhận thức của con người
perception of color. về màu sắc.
Nó đưa đến sự đồng nhất về nhận thức và thành phần L của nó rất phù
It aspires to perceptual uniformity, and its L component hợp với nhận thức của con người về độ sáng
closely matches human perception of lightness
Sắc độ:
Chrominance: a - dao động từ xanh đến đỏ và
a – ranges from green to red and b - phạm vi từ màu xanh đến màu vàng
b - ranges from blue to yellow
Photoshop sử dụng mô hình này để kiểm soát màu sắc nhiều hơn
Photoshop uses this model to get more control over color ▪ Adobe Photoshop, chỉnh sửa ảnh bằng "Chế độ Lab" là CIELAB
• Adobe Photoshop, image editing using "Lab mode" is CIELAB ▪ Ảnh có liên quan, chỉnh sửa Lab đạt được bằng cách thay đổi Định
• Affinity Photo, Lab editing is achieved by changing the document's Colour dạng màu của tài liệu thành "Lab (16 bit)"
Format to "Lab (16 bit)" ▪ Tệp TIFF, không gian màu CIELAB
• TIFF files, the CIELAB color space ▪ Tài liệu PDF, "Không gian màu phòng thí nghiệm" là CIELAB
• PDF documents, the "Lab color space" is CIELAB
▪ Máy đo màu kỹ thuật số trên OS X, nó được mô tả là "L * a * b *"
• Digital Color Meter on OS X, it is described as "L*a*b*"
41
https://www.youtube.com/watch?v=3
bY8MVHf0JM
LAB MODEL
The CIE L*a*b* color model (Lab) is based on the human
perception of color.
It aspires to perceptual uniformity, and its L component
closely matches human perception of lightness
Chrominance:
a – ranges from green to red and
b - ranges from blue to yellow
CMYK 43
Colorimetry:
COLOR MODEL SUMMARY CIE XYZ: contains all visible colors
Device Color Systems:
RGB: additive device color space (monitors)
CMYK: subtractive device color space
(printers)
YIQ: NTSC television (Y=luminance, I=R-Y,
Q=B-Y)
Color Ordering Systems:
HSV, HLS: for user interfaces
44
COLOR PICKER
Tài liệu phục vụ
học tập sinh viên
CNTT&TT ĐHBK -
HN
Tài liệu sử dụng Hình ảnh , Text , Video trên mạng theo
nguyên tắc FU – CC và tuân thủ theo quy tắc đó
Sinh viên, người học hoàn toàn có quyền chỉnh sửa,
copy và tái suất bản theo CC & FU
APPLICATION
47
COLOR SELECTION AND APPLICATIONS
Graphical package provide Gói đồ họa cung cấp khả năng màu
color capabilities in a way that theo cách hỗ trợ người dùng thực
aid users in making color hiện các lựa chọn màu
selections Hướng dẫn
• Hiển thị mẫu màu xanh bên cạnh mẫu màu
Guidelines đỏ có thể gây mỏi mắt
Displaying blue pattern next to a red pattern • Số lượng màu nhỏ hơn tạo ra màn hình
can cause eye fatigue
đẹp hơn
Smaller number of colors produces a better
looking display • Sắc độ và sắc thái có xu hướng pha trộn
Tints and shades tend to blend better than pure tốt hơn màu sắc tinh khiết
hues • Màu xám hoặc bổ sung của một trong các
Gray or complement of one of the foreground màu nền trước thường là tốt nhất cho nền
color is usually best for background
48
SELF-ANIMATED IMAGES
56
WHAT HAPPENS WHEN CHICKENS
SEE RED?
A company * that markets red contact lenses for chickens (at 20 cents a pair),
points to medical studies showing that chickens wearing red-tinted contact lenses
behave differently from birds that don't.
They eat less, produce more and don't fight as much. This decreases aggressive
tendencies and birds are less likely to peck at each other causing injury.
A spokesman said the lenses will improve world egg-laying productivity by $600
million a year. (Perhaps everything looks red and they cannot distinguish combs,
wattles, or blood.
Or ...perhaps the chickens are happier because they're viewing the world through
rose colored glasses.)
57