Reflected Color vs. Projected Color
In the analog world, colors are often created with pigments, like those in paint. These colors are called reflected colors because they rely on light bouncing off the surface and into your eyes. For example, a painting by Rembrandt is analog—its colors are created through infinite combinations of pigments and can change over time due to “noise” like soot, weathering, or varnish aging.
Digital screens, on the other hand, use projected color, which is created by light emitted directly from a screen. These colors are formed by combining red, green, and blue (RGB) light at varying intensities. For instance, the colors in a photograph on your phone are produced through this method, creating vibrant, precise visuals.
~~~~~~
How Color is Represented in Digital Images
In the digital realm, color is represented numerically. Each pixel in an image has a specific color value determined by its bit depth—the number of bits used to define the color of each pixel.
– Indexed Color: This method limits the color palette to a predefined set, such as in GIFs. Each pixel references an index in a color table, which reduces file size but limits the range of colors.
– 24-Bit Color: Often used in JPEGs and PNGs, this method allows for 16,777,216 colors by dedicating 8 bits each to red, green, and blue. This broad spectrum can produce highly realistic images.
For example, grayscale images only need 1 byte (8 bits) per pixel to represent 256 shades of gray, whereas a full-color photograph utilizes the full range of 24-bit color.
~~~~~~
Bitmap vs. Vector Images
Digital images can also be categorized by how they are structured:
– Bitmap (Raster) Images: These are made up of pixels, where each pixel can only display one color. Bitmap images are resolution-dependent, meaning they can pixelated when scaled.
– Vector Images: Instead of pixels, vector graphics consist of mathematical instructions defining shapes, positions, and colors. This allows them to be resized infinitely without losing quality. For example, SVGs (Scalable Vector Graphics) and fonts are vector-based, ensuring they remain crisp at any size.
~~~~~~
Examples of Digital Color Representation
Let’s compare two examples:
– Indexed Color: A simple image with four colors can be represented with a bit depth of 2. Each pixel uses 2 bits, where “00” might represent black, “11” white, and the other two values represent additional colors.
– 24-Bit Color: A high-resolution photograph uses 8 bits for each color channel (red, green, and blue), allowing for millions of color variations. This is why photos taken on modern cameras or viewed in high-quality formats like PNG look so vibrant.
~~~~~~
Dithering: Enhancing Color Gradients
To minimize the “banding” effect in bitmap images (where you can see distinct transitions between colors), dithering is applied. This technique uses patterns of pixels to blend colors smoothly, creating the illusion of a continuous gradient.
~~~~~~
The Analog-Digital Divide in Art
When comparing analog and digital art, the differences in color representation become clear. A Rembrandt painting’s infinite color combinations and “noise” make it distinctly analog. Meanwhile, a digital artwork by an artist like Ana retains exact color data, even when affected by dirt or grime, allowing its original state to be reconstructed.
Understanding these differences helps us appreciate both the timeless nature of analog art and the precision and versatility of digital creations. From Rembrandt’s brushstrokes to the images on our screens, the interplay between color, medium, and technology continues to shape the way we see the world.
ChatGPT Prompt:
Create a blog post about Generative AI using outside information and these few notes:
Explain the difference between reflected color (ink) and projected color (the screen on your computer or phone). Illustrate your explanation with examples. Explain how color is represented in a digital image. Include a discussion of indexed color as well as 24 bit color. Give examples of each.
Paintings are analog because there are infinite numbers of colors that old paintings could be
All the changes that old paintings go through, soot, weathering, varnish aging, etc. is considered “noise”
Rembrandt’s painting is analog
Ana’s painting are digital
She doesn’t mix paint keeping the colors in their original forms
You can trace back and see the exact colors she used even if there’s “noise” (dirt, grim, soot, etc)
Digital Images
2 ways to represent digital images:
Bitmap (raster images)
Pixels (picture elements): can only be one color
Bit depth (color depth): how many colors in a pixel image
Resolution: how many pixels
= bit depth = 1 (only one bit behind each pixel)
= bit depth = 2 (4 colors)
00 – black, 11 – white, 01 – color 1, 10 – color 2
Bit depth = 3 (8 colors)
000, 011, 110, 101, 001, 111, 100, 010
Grayscale images need 1 Byte (8 bits) per pixel
24 Bit Color = (256^3) = 16,777,216 colors
8 bit = red = 256 shades of red
8 bit = blue = 256 shades of blue
8 bit = green = 256 shades of green
Every bit added, doubles the amount of color
Gif = index color
Jpeg, png, webp = 24 bit color = our cameras
Vector Images:
Vector graphics Consist of shapes called objects
Vector objects aren’t pixels but a set of instructions
these instructions contain info about their position, location, color, and about the objects on the image
SVG equals scalable vector graphics ( vector image file type )
Vector images can be any size and won’t ever pixelate
Fonts
fonts in computer are vectors ( because they don’t pixelate when scaled )
Dithering: reduces banding effect on Pixel images
and follow this format for the blog writing: (inserted binary blog post)