1. RGB Color System:


Concept:

 

RGB stands for Red, Green, Blue, which are the primary colors of light in this additive color model. In RGB, colors are created by combining varying intensities of these three primary colors.



Application:
 
  • Digital Displays: RGB is widely used in digital displays, such as monitors, TVs, and screens. Each pixel is composed of three subpixels emitting red, green, and blue light, which combine to produce millions of colors.
  • Digital Art and Design: Software like Adobe Photoshop, Illustrator, and web design tools utilize RGB for creating and manipulating colors in digital artworks and graphics.


Example:

 
<div style="background-color: rgb(255, 0, 0); width: 100px; height: 100px;"></div>
 

This HTML code creates a red square using RGB color values (255 for red, 0 for green, 0 for blue).




2. CMYK Color Model:


Concept:

 

CMYK stands for Cyan, Magenta, Yellow, and Key (Black). It's a subtractive color model used in printing and reproduction, where colors are created by subtracting varying amounts of cyan, magenta, yellow, and adding black for depth and contrast.



Application:
 
  • Print Media: CMYK is the standard color model for printing, including magazines, posters, brochures, and packaging. Printers mix cyan, magenta, yellow, and black inks to produce a wide range of colors.
  • Graphic Design for Print: Design software like Adobe InDesign and Illustrator utilize CMYK mode for designing materials intended for print.


Example:

 
<div style="background-color: cmyk(100%, 0%, 0%, 0%); width: 100px; height: 100px;"></div>

Note: While CMYK is primarily used in printing, CSS doesn't support direct CMYK color representation; it's used here for illustrative purposes.



3. HSL/HSV Color Models:


Concept:
 

HSL (Hue, Saturation, Lightness) and HSV (Hue, Saturation, Value) are cylindrical color models that define colors based on three aspects:

  • Hue: The color itself, represented as a degree on the color wheel (0-360).
  • Saturation: The intensity or purity of the color, ranging from dull (0%) to vibrant (100%).
  • Lightness/Value: The brightness of the color, ranging from black (0%) to white or full brightness (100%).


Application:

 

Web Design: HSL and HSV are increasingly used in web design and CSS for defining colors, especially for backgrounds, text, and elements requiring specific color variations.
Color Picker Tools: Many digital design tools and platforms offer HSL/HSV sliders or pickers for precise color selection and manipulation.



Example:
 
<div style="background-color: hsl(120, 100%, 50%); width: 100px; height: 100px;"></div>

This HTML code creates a green square using HSL color values (hue: 120° for green, saturation: 100%, lightness: 50%).



Comparing the Color Models:
 
  • RGB vs. CMYK: RGB is additive (light-based) and used for digital displays, while CMYK is subtractive (ink-based) and used for print media.
  • HSL/HSV vs. RGB/CMYK: HSL/HSV offer intuitive ways to specify and manipulate colors based on human perception (hue, saturation, lightness/value), making them useful for design applications.

 



Practice Excercise Practice now