Color Models in Computer Graphics

"Color model is a 3D color coordinate system to produce all range of color through the primary color set." There are millions of colors used in computer graphics. The light displays the color. A Color model is a hierarchical system in which we can create every color by using RGB (Red, Green, Blue) and CMYK (Cyan, Magenta, Yellow, Black) models. We can use different colors for various purposes.

The total number of colors displayed by the monitor depends on the storage capacity of the video controller card.

The Video controller card is used as an interface between the computer system and the display device. It is also known as “Video Random Access Memory (VRAM).”

Types of Color Model

The basic color model is divided into two parts-

Color Model
  • Additive Color Model: It is also named as “RGB model.” RGB stands for Red, Green, Blue. The Additive color model uses a mixture of light to display colors. The perceived color depends on the transmission of light. It is used in digital media.

For Example- Computer Monitor, Television etc.

Color Model 1
Color Model 2
  • Subtractive Color Model: It is also named as “CMYK Model.” CMYK stands for Cyan, Magenta, Yellow, and Black. The Subtractive model uses a reflection of light to display the colors. The perceived color depends on the reflection of light.

The CMYK model uses printing inks.

For Example- Paint, Pigments, and color filter etc.

Color Model 3
Color Model 4

Advantages:

  1. Easy to Implement.
  2. It uses color space for applications.
  3. No transformation for data display.

Disadvantages:

  1. We cannot transfer the color values from one to another device.
  2. Complex to determine the particular color.

Color Look-Up Table

The color Look Up table is a technique or process to convert a range of input colors into another range of colors. It is also called as “CLUT.” The color Lookup table has existed in the graphics card. Graphics Card is also called “Display Adapter.” The Color Look-Up table provides us various colors that are used to modify the color of the objects. Either we can use the colors available in the palette, or we can create the colors of our choice in the color window.

In image processing, the lookup table is used to change the input into the more required output format. The Color Look-Up table is used to store and index the color value of an image.

Color Model 5

Look Up File: The Look-Up file is a two-dimensional table that is used to contain the data. The Look Up data is stored in a disk file.

Color Palettes: The color palettes are defined as mathematical tables used to determine the color of the pixel that is displayed on the screen.

In the Macintosh Operating system, it is known as “Color Look-Up table.”

In Windows operating system, it is known as the “Color palette.”

It is used to stores a set of bytes instead of the color of the image.

Advantages:

  1. Easy to modify.
  2. Space Efficient.

Disadvantages:

  1. It does not maintain any changes in the history.
  2. There is a need to determine and maintain the reference.

Direct Coding

“Direct Coding is a technique or process which is used to provide a certain amount of memory storage space for a pixel to encode the pixel with the color.”

For Example- If we assign one bit for each primary color to 3-bit for each pixel. This 3-bit representation allows the two intensity levels of each primary to separate: 0(Off) or 1(On),then each pixel can occupy one color out of eight colors that are similar to the corner of the RGB color cube.

Bit1: Red Bit2: Green Bit: Blue Color Name
0 0 0 Black
0 0 1 Blue
0 1 0 Green
0 1 1 Cyan
1 0 0 Red
1 0 1 Magenta
1 1 0 Yellow
1 1 1 White

Mostly 3 bytes, or 24 bits per pixel are used in industries and companies, with 1 byte for each primary color. We can allot each primary color to have 265 different intensity levels, similar to binary values from 00000000 to 11111111.

The color of the pixel can be 265 x 265 x 265 or 16.7 million. The representation of black and white, the grayscale image, needs just 1 bit per pixel. The bit value 0 represents black, and 1 represents white. The direct coding technique is simple, and it also supports various applications.


Related Topics

Panning

“Panning is a process or photographic technique that is used to combine slow shutter speed with camera movement to make a speed sense around the moving object.” We can define panning as...

2 minutes read.

Anti-aliasing in Computer Graphics

Anti-aliasing in Computer Graphics “Anti-aliasing is a method for eliminating the aliasing effect used in computer graphics. In a 2-dimensional object, the ambient occlusion impact is the existence of sharp edges...

7 minutes read.

3D Reflection

The Reflection is a mirror image of the original object. We can differentiate 2D and 3D reflection by adding Z-axis. The Z-axis shows the depth of the surface. In the...

1 minute read.

2D Shearing

We can denote shearing with ‘SHx’ and ‘SHy.’ These ‘SHx’ and ‘SHy’ are called “Shearing factor.” We can perform shearing on the object in two ways- Shearing along x-axis: In this, we...

2 minutes read.

2D Scaling

In scaling, we can expend or compress the size of any object. We can apply scaling on the object by multiplying the original coordinates with scaling factors. The term scaling factor...

2 minutes read.

3D Shearing

We can denote shearing with ‘SHx,’ ‘SHy,’ and ‘SHz.’ These ‘SHx,’ ‘SHy,’ ‘SHz’ are called “Shearing factor.” The basic difference between 2D and 3D Shearing is that the 3D plane also...

1 minute read.

3d Scaling

The 2D and 3D scaling are similar, but the key difference is that the 3D plane also includes the z-axis along with the x and y-axis. In scaling, we can expend...

2 minutes read.

Text Clipping

“Text Clipping is a process in which we remove those part (portion) of string that is outside the view pane (window).” Various methods and techniques can do the text clipping. These techniques depend...

2 minutes read.

Output Devices in Computer Graphics

Computer Graphics Output Devices An output device is a component of hardware or the main physical part of a computer that can be touched and seen. An output device is an electromechanical device. “The...

5 minutes read.

Computer Graphics Tutorial

Introduction to Computer Graphics Computer graphics is commonly seen as a computer science branch that deals with the computerized image fusion theory and technology. As simple as a triangle outline, a...

6 minutes read.

Display Devices in Computer Graphics

The display device is an output device used to represent the information in the form of images (visual form). Display systems are mostly called a video monitor or Video display unit (VDU). Display devices are designed to model, display, view, or display information. The...

6 minutes read.

Input Devices in Computer Graphics

An Input device is the piece of computer hardware equipment used to give input to the computer. The input can be in the form of graphics, text, sound, audio, video,...

7 minutes read.

Illumination Model in Computer Graphics

Illumination Model in Computer Graphics The series of methods used to depict light in computer graphics scenarios is computer graphics illumination. Although lighting strategies provide versatility in the degree of detail...

8 minutes read.

Pointing and Positioning Technique Computer Graphics

Pointing and Positioning Technique: The pointing and positioning are interactions used in computer graphics. A pointing device is also called a Pointing tool. A pointing tool is a hardware component,...

4 minutes read.

3D Translation

A 3D Translation process contains the x-axis, y-axis, and z-axis. We can move any object from one place to another without changing the shape of the object. For Example-Translation of a...

1 minute read.

Image Representation in Computer Graphics

Image Representation: In computer science, we can represent an image in various forms. Most of the time, it refers to the way that brings information, such as color is coded digitally, and...

4 minutes read.

Filled Area Primitives Computer Graphics

Filled Area Primitives: Area filling is a method or process that helps us to fill an object, area, or image. We can easily fill the polygon. The polygon filling is...

4 minutes read.

Aspect Ratio in Computer Graphics

Aspect Ratio in Computer Graphics You might well understand the concept of Aspect ratio as of now if you know regarding aerial photography or see the configuration portion of any computer...

5 minutes read.

2D Reflection

The Reflection is a mirror image of the original object. In the Reflection process, the size of the object does not change. We can represent Reflection by using four ways- Reflection along...

2 minutes read.

Applications of Computer Graphics

Applications of Computer Graphics Some applications of computer graphics are mentioned below- Graphical User Interface (GUI): It is a way of interacting with a computer using the icon, ...

2 minutes read.