SlideShare a Scribd company logo
1 of 13
RGB AND CMY COLOR
MODEL
RGB COLOR MODEL
• RGB color stands for RED,GREEN and BLUE. This color model is used in computer
monitors, television sets,
and theater. It's an additive color model.
• Additive color model means is that where we can combine these three basic color in
various ways to get a new color.
1
RGB COLOR MODEL CONT.
When we will combine
RED+GREEN+BLUE=WHITE
Example:
R G B (Red, Green ,Blue) is of 8-bit each. Thus maximum
possible range by individual is 0-255 (as 2^8 = 256)
2
EXAMPLES RGB
• R(255)+G(255)+B(255) =W
• We get white while intersecting
• C (cyan) = G + B
• M (magenta) = R + B
• Y (yellow) = R + G
WHITE(max)
While we combined
“+” means additive
3
A subtractive color model.
CMYK refers to the four inks used in some color printing: cyan, magenta,
yellow and key (black).
Subtractive because, The ink reduces the light that would otherwise be
reflected. Inks subtract brightness from white.
Represent by value only 0 or 1
0 = no color 1= full color
4
CMY COLOR MODEL
EXAMPLES CMY
“-” means subtractive
C (cyan) = W - R
M (magenta) = W - G
Y (yellow) = W – B
Key color black(max) 5
DIFFERENCES BETWEEN RGB
AND CMY (SIGHT DIFFERENCE)
6
DIFFERENCES BETWEEN RGB
AND CMY CONT.
CMYK is a four-color mode that utilizes the colors cyan,
magenta, yellow and black in various amounts to create
all of the necessary colors
RGB is an additive type of color mode that combines the
primary colors, red, green and blue, in varying levels, to
create a variety of different colors.
RGB is vibrant
Whereas CMYK is not vibrant but good for reading
7
DIFFERENCES BETWEEN RGB
AND CMY CONT.
In RGB, when all three colors are combined and displayed
to their full extent, the result is a pure white.
In CMYK, when the first three colors are added together,
the result is not pure black, but rather a very dark brown.
CMYK is the primary color model used by color printers.
RGB is the typical color model used on electronic devices
such as computers, theaters etc.
8
CONVERSION POLICY
(RGB TO CMYK)
There is a core formula if we want to convert.
The R,G,B values are divided by 255 to change the range from 0..255 to 0..1:
• R' = R/255
• G' = G/255
• B' = B/255
9
CONVERSION POLICY
(RGB TO CMYK) CONT.
• The black key (K) color is calculated from the red (R'), green (G') and blue (B') colors:
• K = 1-max(R', G', B')
• The cyan color (C) is calculated from the red (R') and black (K) colors:
• C = (1-R'-K) / (1-K)
• The magenta color (M) is calculated from the green (G') and black (K) colors:
• M = (1-G'-K) / (1-K)
• The yellow color (Y) is calculated from the blue (B') and black (K) colors:
• Y = (1-B'-K) / (1-K)
10
EXAMPLE
• Lets think There is RGB value for violate(100,50,150)
•We want to convert it into CMYK
According to formula….
R’ =100/255 =0.392
G’ =50/255 =0.196
B’ =150/255 =0.588
Lets find the key for CMY
K =(1-0.588)=0.412 [Because this the largest value among given result]
(1-K) =0.588 [Will require later]
11
Rgb and Cmy color model

More Related Content

What's hot

Introduction to computer graphics
Introduction to computer graphics Introduction to computer graphics
Introduction to computer graphics Priyodarshini Dhar
 
2 d viewing computer graphics
2 d viewing computer graphics2 d viewing computer graphics
2 d viewing computer graphicsKALESHWAR KUMAR
 
Intro to scan conversion
Intro to scan conversionIntro to scan conversion
Intro to scan conversionMohd Arif
 
Computer graphics notes
Computer graphics notesComputer graphics notes
Computer graphics notessmruti sarangi
 
Image file formats
Image file formatsImage file formats
Image file formatsKarlRubin
 
"Color model" Slide for Computer Graphics Presentation
"Color model" Slide for Computer Graphics Presentation"Color model" Slide for Computer Graphics Presentation
"Color model" Slide for Computer Graphics PresentationAshek Shanto
 
Attributes of output primitives( curve attributes & area fill attributes)
Attributes of output primitives( curve attributes & area fill attributes)Attributes of output primitives( curve attributes & area fill attributes)
Attributes of output primitives( curve attributes & area fill attributes)shalinikarunakaran1
 
Polygon filling algorithm
Polygon filling algorithmPolygon filling algorithm
Polygon filling algorithmAparna Joshi
 
Computer graphics basic transformation
Computer graphics basic transformationComputer graphics basic transformation
Computer graphics basic transformationSelvakumar Gna
 
Computer graphics
Computer graphicsComputer graphics
Computer graphicsMohsin Azam
 
Concept of basic illumination model
Concept of basic illumination modelConcept of basic illumination model
Concept of basic illumination modelAnkit Garg
 
Graphics software and standards
Graphics software and standardsGraphics software and standards
Graphics software and standardsMani Kanth
 
Color models in Digitel image processing
Color models in Digitel image processingColor models in Digitel image processing
Color models in Digitel image processingAryan Shivhare
 
4. THREE DIMENSIONAL DISPLAY METHODS
4.	THREE DIMENSIONAL DISPLAY METHODS4.	THREE DIMENSIONAL DISPLAY METHODS
4. THREE DIMENSIONAL DISPLAY METHODSSanthiNivas
 
Image Enhancement - Point Processing
Image Enhancement - Point ProcessingImage Enhancement - Point Processing
Image Enhancement - Point ProcessingGayathri31093
 

What's hot (20)

Introduction to computer graphics
Introduction to computer graphics Introduction to computer graphics
Introduction to computer graphics
 
2 d viewing computer graphics
2 d viewing computer graphics2 d viewing computer graphics
2 d viewing computer graphics
 
Intro to scan conversion
Intro to scan conversionIntro to scan conversion
Intro to scan conversion
 
Computer graphics notes
Computer graphics notesComputer graphics notes
Computer graphics notes
 
Image file formats
Image file formatsImage file formats
Image file formats
 
"Color model" Slide for Computer Graphics Presentation
"Color model" Slide for Computer Graphics Presentation"Color model" Slide for Computer Graphics Presentation
"Color model" Slide for Computer Graphics Presentation
 
Attributes of output primitives( curve attributes & area fill attributes)
Attributes of output primitives( curve attributes & area fill attributes)Attributes of output primitives( curve attributes & area fill attributes)
Attributes of output primitives( curve attributes & area fill attributes)
 
Computer graphics color models
Computer graphics    color modelsComputer graphics    color models
Computer graphics color models
 
COM2304: Color and Color Models
COM2304: Color and Color ModelsCOM2304: Color and Color Models
COM2304: Color and Color Models
 
Polygon filling algorithm
Polygon filling algorithmPolygon filling algorithm
Polygon filling algorithm
 
Computer graphics basic transformation
Computer graphics basic transformationComputer graphics basic transformation
Computer graphics basic transformation
 
RGB and CMY based color model
RGB and CMY based color modelRGB and CMY based color model
RGB and CMY based color model
 
Computer graphics
Computer graphicsComputer graphics
Computer graphics
 
Color model
Color modelColor model
Color model
 
Concept of basic illumination model
Concept of basic illumination modelConcept of basic illumination model
Concept of basic illumination model
 
Graphics software and standards
Graphics software and standardsGraphics software and standards
Graphics software and standards
 
Color models in Digitel image processing
Color models in Digitel image processingColor models in Digitel image processing
Color models in Digitel image processing
 
Color models
Color modelsColor models
Color models
 
4. THREE DIMENSIONAL DISPLAY METHODS
4.	THREE DIMENSIONAL DISPLAY METHODS4.	THREE DIMENSIONAL DISPLAY METHODS
4. THREE DIMENSIONAL DISPLAY METHODS
 
Image Enhancement - Point Processing
Image Enhancement - Point ProcessingImage Enhancement - Point Processing
Image Enhancement - Point Processing
 

Similar to Rgb and Cmy color model

RGB Color Model and Monitor Resolution
RGB Color Model and Monitor ResolutionRGB Color Model and Monitor Resolution
RGB Color Model and Monitor ResolutionAdya Tiwari
 
Color image processing ppt
Color image processing pptColor image processing ppt
Color image processing pptMvidhya9
 
RGB to CMY Conversions
RGB to CMY ConversionsRGB to CMY Conversions
RGB to CMY ConversionsIsaac Leif
 
Understanding Color#1
Understanding Color#1Understanding Color#1
Understanding Color#1Beth Sockman
 
Lecnoninecolorspacemodelindigitalimageprocess
LecnoninecolorspacemodelindigitalimageprocessLecnoninecolorspacemodelindigitalimageprocess
LecnoninecolorspacemodelindigitalimageprocessIrsaAamir
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: BasicsA B Shinde
 
Differences between rgb and cmyk color schemes
Differences between rgb and cmyk color schemesDifferences between rgb and cmyk color schemes
Differences between rgb and cmyk color schemesDhanasekar181
 
Technical concepts for graphic design production 4
Technical concepts for graphic design production 4Technical concepts for graphic design production 4
Technical concepts for graphic design production 4Ahmed Ismail
 
Colour image processing(fip)
Colour image processing(fip)Colour image processing(fip)
Colour image processing(fip)Vijay Kumar
 

Similar to Rgb and Cmy color model (20)

Rgb&amp
Rgb&ampRgb&amp
Rgb&amp
 
RGB Color Model and Monitor Resolution
RGB Color Model and Monitor ResolutionRGB Color Model and Monitor Resolution
RGB Color Model and Monitor Resolution
 
Rgb & cmy(k) color model
Rgb & cmy(k) color modelRgb & cmy(k) color model
Rgb & cmy(k) color model
 
Rgb and-cmy-color-model
Rgb and-cmy-color-modelRgb and-cmy-color-model
Rgb and-cmy-color-model
 
Color image processing ppt
Color image processing pptColor image processing ppt
Color image processing ppt
 
Colormodels
ColormodelsColormodels
Colormodels
 
Color models
Color modelsColor models
Color models
 
Computer graphices presentation
Computer graphices presentationComputer graphices presentation
Computer graphices presentation
 
RGB to CMY Conversions
RGB to CMY ConversionsRGB to CMY Conversions
RGB to CMY Conversions
 
Understanding Color#1
Understanding Color#1Understanding Color#1
Understanding Color#1
 
Lecnoninecolorspacemodelindigitalimageprocess
LecnoninecolorspacemodelindigitalimageprocessLecnoninecolorspacemodelindigitalimageprocess
Lecnoninecolorspacemodelindigitalimageprocess
 
Chap46
Chap46Chap46
Chap46
 
Color models
Color modelsColor models
Color models
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: Basics
 
Differences between rgb and cmyk color schemes
Differences between rgb and cmyk color schemesDifferences between rgb and cmyk color schemes
Differences between rgb and cmyk color schemes
 
Displays and color system in computer graphics(Computer graphics tutorials)
Displays and color system in computer graphics(Computer graphics tutorials)Displays and color system in computer graphics(Computer graphics tutorials)
Displays and color system in computer graphics(Computer graphics tutorials)
 
Technical concepts for graphic design production 4
Technical concepts for graphic design production 4Technical concepts for graphic design production 4
Technical concepts for graphic design production 4
 
Coloring
ColoringColoring
Coloring
 
Colour image processing(fip)
Colour image processing(fip)Colour image processing(fip)
Colour image processing(fip)
 
Graphic design major color modes
Graphic design major color modesGraphic design major color modes
Graphic design major color modes
 

More from Sajid Hasan

Digital differential analyzer
Digital differential analyzerDigital differential analyzer
Digital differential analyzerSajid Hasan
 
Web Security Attacks
Web Security AttacksWeb Security Attacks
Web Security AttacksSajid Hasan
 
Lcs & fractional knapsack
Lcs & fractional knapsackLcs & fractional knapsack
Lcs & fractional knapsackSajid Hasan
 
Bar chart, pie chart, histogram
Bar chart, pie chart, histogramBar chart, pie chart, histogram
Bar chart, pie chart, histogramSajid Hasan
 
Rangpur as a division in Bangladesh
Rangpur as a division in BangladeshRangpur as a division in Bangladesh
Rangpur as a division in BangladeshSajid Hasan
 
Basic array in c programming
Basic array in c programmingBasic array in c programming
Basic array in c programmingSajid Hasan
 

More from Sajid Hasan (12)

Digital differential analyzer
Digital differential analyzerDigital differential analyzer
Digital differential analyzer
 
Web Security Attacks
Web Security AttacksWeb Security Attacks
Web Security Attacks
 
Line coding
Line codingLine coding
Line coding
 
Plasmid
PlasmidPlasmid
Plasmid
 
Lcs & fractional knapsack
Lcs & fractional knapsackLcs & fractional knapsack
Lcs & fractional knapsack
 
Bar chart, pie chart, histogram
Bar chart, pie chart, histogramBar chart, pie chart, histogram
Bar chart, pie chart, histogram
 
Semiconductor
SemiconductorSemiconductor
Semiconductor
 
Rangpur as a division in Bangladesh
Rangpur as a division in BangladeshRangpur as a division in Bangladesh
Rangpur as a division in Bangladesh
 
Basic array in c programming
Basic array in c programmingBasic array in c programming
Basic array in c programming
 
Cyber security
Cyber securityCyber security
Cyber security
 
Cyber security
Cyber securityCyber security
Cyber security
 
Cyber security
Cyber securityCyber security
Cyber security
 

Recently uploaded

Supermarket billing system project report..pdf
Supermarket billing system project report..pdfSupermarket billing system project report..pdf
Supermarket billing system project report..pdfKamal Acharya
 
BURGER ORDERING SYSYTEM PROJECT REPORT..pdf
BURGER ORDERING SYSYTEM PROJECT REPORT..pdfBURGER ORDERING SYSYTEM PROJECT REPORT..pdf
BURGER ORDERING SYSYTEM PROJECT REPORT..pdfKamal Acharya
 
Filters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsFilters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsMathias Magdowski
 
Lab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docxLab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docxRashidFaridChishti
 
Software Engineering - Modelling Concepts + Class Modelling + Building the An...
Software Engineering - Modelling Concepts + Class Modelling + Building the An...Software Engineering - Modelling Concepts + Class Modelling + Building the An...
Software Engineering - Modelling Concepts + Class Modelling + Building the An...Prakhyath Rai
 
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdfInstruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdfEr.Sonali Nasikkar
 
Intelligent Agents, A discovery on How A Rational Agent Acts
Intelligent Agents, A discovery on How A Rational Agent ActsIntelligent Agents, A discovery on How A Rational Agent Acts
Intelligent Agents, A discovery on How A Rational Agent ActsSheetal Jain
 
2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edgePaco Orozco
 
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...Lovely Professional University
 
Introduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AIIntroduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AISheetal Jain
 
Theory for How to calculation capacitor bank
Theory for How to calculation capacitor bankTheory for How to calculation capacitor bank
Theory for How to calculation capacitor banktawat puangthong
 
Interfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdfInterfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdfragupathi90
 
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdfDR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdfDrGurudutt
 
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Operating System chapter 9 (Virtual Memory)
Operating System chapter 9 (Virtual Memory)Operating System chapter 9 (Virtual Memory)
Operating System chapter 9 (Virtual Memory)NareenAsad
 
Attraction and Repulsion type Moving Iron Instruments.pptx
Attraction and Repulsion type Moving Iron Instruments.pptxAttraction and Repulsion type Moving Iron Instruments.pptx
Attraction and Repulsion type Moving Iron Instruments.pptxkarthikeyanS725446
 
Quiz application system project report..pdf
Quiz application system project report..pdfQuiz application system project report..pdf
Quiz application system project report..pdfKamal Acharya
 
Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...
Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...
Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...ShivamTiwari995432
 
Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2T.D. Shashikala
 
Teachers record management system project report..pdf
Teachers record management system project report..pdfTeachers record management system project report..pdf
Teachers record management system project report..pdfKamal Acharya
 

Recently uploaded (20)

Supermarket billing system project report..pdf
Supermarket billing system project report..pdfSupermarket billing system project report..pdf
Supermarket billing system project report..pdf
 
BURGER ORDERING SYSYTEM PROJECT REPORT..pdf
BURGER ORDERING SYSYTEM PROJECT REPORT..pdfBURGER ORDERING SYSYTEM PROJECT REPORT..pdf
BURGER ORDERING SYSYTEM PROJECT REPORT..pdf
 
Filters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsFilters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility Applications
 
Lab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docxLab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docx
 
Software Engineering - Modelling Concepts + Class Modelling + Building the An...
Software Engineering - Modelling Concepts + Class Modelling + Building the An...Software Engineering - Modelling Concepts + Class Modelling + Building the An...
Software Engineering - Modelling Concepts + Class Modelling + Building the An...
 
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdfInstruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
 
Intelligent Agents, A discovery on How A Rational Agent Acts
Intelligent Agents, A discovery on How A Rational Agent ActsIntelligent Agents, A discovery on How A Rational Agent Acts
Intelligent Agents, A discovery on How A Rational Agent Acts
 
2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge
 
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
 
Introduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AIIntroduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AI
 
Theory for How to calculation capacitor bank
Theory for How to calculation capacitor bankTheory for How to calculation capacitor bank
Theory for How to calculation capacitor bank
 
Interfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdfInterfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdf
 
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdfDR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
 
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
 
Operating System chapter 9 (Virtual Memory)
Operating System chapter 9 (Virtual Memory)Operating System chapter 9 (Virtual Memory)
Operating System chapter 9 (Virtual Memory)
 
Attraction and Repulsion type Moving Iron Instruments.pptx
Attraction and Repulsion type Moving Iron Instruments.pptxAttraction and Repulsion type Moving Iron Instruments.pptx
Attraction and Repulsion type Moving Iron Instruments.pptx
 
Quiz application system project report..pdf
Quiz application system project report..pdfQuiz application system project report..pdf
Quiz application system project report..pdf
 
Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...
Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...
Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...
 
Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2
 
Teachers record management system project report..pdf
Teachers record management system project report..pdfTeachers record management system project report..pdf
Teachers record management system project report..pdf
 

Rgb and Cmy color model

  • 1. RGB AND CMY COLOR MODEL
  • 2. RGB COLOR MODEL • RGB color stands for RED,GREEN and BLUE. This color model is used in computer monitors, television sets, and theater. It's an additive color model. • Additive color model means is that where we can combine these three basic color in various ways to get a new color. 1
  • 3. RGB COLOR MODEL CONT. When we will combine RED+GREEN+BLUE=WHITE Example: R G B (Red, Green ,Blue) is of 8-bit each. Thus maximum possible range by individual is 0-255 (as 2^8 = 256) 2
  • 4. EXAMPLES RGB • R(255)+G(255)+B(255) =W • We get white while intersecting • C (cyan) = G + B • M (magenta) = R + B • Y (yellow) = R + G WHITE(max) While we combined “+” means additive 3
  • 5. A subtractive color model. CMYK refers to the four inks used in some color printing: cyan, magenta, yellow and key (black). Subtractive because, The ink reduces the light that would otherwise be reflected. Inks subtract brightness from white. Represent by value only 0 or 1 0 = no color 1= full color 4 CMY COLOR MODEL
  • 6. EXAMPLES CMY “-” means subtractive C (cyan) = W - R M (magenta) = W - G Y (yellow) = W – B Key color black(max) 5
  • 7. DIFFERENCES BETWEEN RGB AND CMY (SIGHT DIFFERENCE) 6
  • 8. DIFFERENCES BETWEEN RGB AND CMY CONT. CMYK is a four-color mode that utilizes the colors cyan, magenta, yellow and black in various amounts to create all of the necessary colors RGB is an additive type of color mode that combines the primary colors, red, green and blue, in varying levels, to create a variety of different colors. RGB is vibrant Whereas CMYK is not vibrant but good for reading 7
  • 9. DIFFERENCES BETWEEN RGB AND CMY CONT. In RGB, when all three colors are combined and displayed to their full extent, the result is a pure white. In CMYK, when the first three colors are added together, the result is not pure black, but rather a very dark brown. CMYK is the primary color model used by color printers. RGB is the typical color model used on electronic devices such as computers, theaters etc. 8
  • 10. CONVERSION POLICY (RGB TO CMYK) There is a core formula if we want to convert. The R,G,B values are divided by 255 to change the range from 0..255 to 0..1: • R' = R/255 • G' = G/255 • B' = B/255 9
  • 11. CONVERSION POLICY (RGB TO CMYK) CONT. • The black key (K) color is calculated from the red (R'), green (G') and blue (B') colors: • K = 1-max(R', G', B') • The cyan color (C) is calculated from the red (R') and black (K) colors: • C = (1-R'-K) / (1-K) • The magenta color (M) is calculated from the green (G') and black (K) colors: • M = (1-G'-K) / (1-K) • The yellow color (Y) is calculated from the blue (B') and black (K) colors: • Y = (1-B'-K) / (1-K) 10
  • 12. EXAMPLE • Lets think There is RGB value for violate(100,50,150) •We want to convert it into CMYK According to formula…. R’ =100/255 =0.392 G’ =50/255 =0.196 B’ =150/255 =0.588 Lets find the key for CMY K =(1-0.588)=0.412 [Because this the largest value among given result] (1-K) =0.588 [Will require later] 11