Tutorial Back Tutorial Next Digital Photo Frames

Color Palettes

Color Palettes Used for GIF Graphics Files

When you are working with a GIF image in a Graphics or Photo Editing program and want to save it, most editing programs will give you many options, including the image size and the kind of Color Palette you want to save with the image.  The Color Palette used will determine the number of colors and which specific colors are imbedded with the saved image. 

A color Palette is a simple collections of solid colors.

For GIF images, a Color Palette can have up to 256 predefined or Indexed Colors.  Although, using a Palette with a fewer number of colors will give you a smaller file size when you save your image because fewer colors have to be defined for the Palette and for the file.

If you are able to define a Color Palette when you save your image and want to decrease the file size as much as possible but want to retain as good a color rendition as you can, then save it using an Optimized Color Palette or Adaptive Color Palette instead of a Standard or System Palette.

The Color Palette you save with an image will determine the number of colors and which specific colors are imbedded with the image.A Standard or System Color Palette by default, will use a predefined range of Red, Blue and Green colors.  An Optimized or Adaptive Palette is a customized color palette and a little more complex. 

Rather than storing the number for each color of each pixel in a file, it figures the recipe for the colors that exist in the image and then assigns a number to each of these colors.  Then it stores only the assigned number of each pixel, rather than the more lengthy color number for each pixel.  Thus, you get a truer color of the image because it preserves the color spectrum of the image and the file size is smaller than if you had used a Standard Palette.

With an Optimized or Adaptive Palette, the fewer colors you have in your original image, the more accurate will be the colors when they are displayed, that are saved in the file.


The table below lists some of the different types of Indexed Color Palettes that are used with GIF images:

Indexed Palettes Number of Bits to Define a Color Binary
Power of
Colors
Number of
Possible Colors
Black & White (or Monochrome) 1-bit 1 21 2
Standard 2-bit CGA 2 22 4
3-bit RGB 3 23 8
Standard 4-bit EGA 4 24 16
6-bit RGB 6 26 64
8-bit Gray Scale (256 shades of gray) 8 28 256
Standard 8-bit VGA System 8 28 256
Adaptive (up to 8-bit) 8 28 256
For Comparison:
RGB Color Model  (24-bit True Color)
24 224 16,777,216
 

Picture of dividing line

In the next section on Color Models, I'll explain the difference between the HSB, RGB and CMYK color models.

Graphic of Top Button

Official PayPal Seal

Home  |   Link Partners  |  Link to Us  |  Our Link Exchange Policy
Glossary of Terms  |  Privacy Policy  |  Site Map  |  About Us   |  Contact Us

Copyright © 2007-2008   Donald Dean Websites - All Rights Reserved