Taken from Tom Jewett’s website (tomjewett.com)

Slides:



Advertisements
Similar presentations
ECA 228 Internet Design color. rods & cones electromagnetic radiation.
Advertisements

School of Computing Science Simon Fraser University
Multi-media Graphics JOUR 205 Color Models & Color Space 5 ways of specifying colors.
Colors and the Web September 16 Unit 5. Primary Colors In grade school taught that red, yellow and blue are primary –Works okay for mixing paint Colors.
Color & Color Management. Overview I. Color Perception Definition & characteristics of color II. Color Representation RGB, CMYK, XYZ, Lab III. Color Management.
CMYK Cyan Cyan Magenta Magenta Yellow Yellow Black Black.
Selecting the Right Color Palette: Understanding RGB and CMYK Color Presented by Pat McClure and Tony Kugler.
Colour Theory. Colour Theories 1.Subtractive Theory The subtractive, or pigment theory deals with how white light is absorbed and reflected off of colored.
Color Model AbdelRahman Abu_absah Teacher: Dr. Sana'a Alsayegh.
Color Systems. Subtractive Color The removal of light waves to perceive color: –Local or physical attributes of pigments, dyes, or inks reflect certain.
Colour Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 6 This presentation © 2004, MacAvon Media Productions Colour.
Understanding Colour Colour Models Dr Jimmy Lam Tutorial from Adobe Photoshop CS.
Guilford County SciVis V104.02
CS 376 Introduction to Computer Graphics 01 / 26 / 2007 Instructor: Michael Eckmann.
Digital Images The digital representation of visual information.
Color Background. What is Color? Aspect of vision Physical reaction of the eye and the automatic interpretive response of the brain to wavelength characteristics.
Color Definitions Graphic Design. There are tens of thousands of colors at designers’ disposal, and almost infinite ways of combining them.
Welcome eager young artists! Ms. Edelman Thursday, September 17, 2015  DO NOW: take out your notebook and a pen.
Color Management. How does the color work?  Spectrum Spectrum is a contiguous band of wavelengths, which is emitted, reflected or transmitted by different.
Colours and Computer Jimmy Lam The Hong Kong Polytechnic University.
Chapter 3 Space. Three Kinds of Space Space as format: size, scale, and presentation. Space as the relationships among objects and the areas surrounding.
Color. There are established models of color, each discipline uses it own method for describing and discussing color intelligently.
Week 6 Colour. 2 Overview By the end of this lecture you will be familiar with: –Human visual system –Foundations of light and colour –HSV and user-oriented.
Color 2011, Fall. Colorimetry : Definition (1/2) Colorimetry  Light is perceived in the visible band from 380 to 780 nm  distribution of wavelengths.
Introduction to Computer Graphics
Elements of Design 1.02 Investigate Design Principles and Elements.
The Science of Color The How and Why of Color. Color Basics Sir Isaac Newton discovered that white light breaks into a rainbow of colors in 1666 by passing.
Intro to Color Theory. Objectives Identify and discuss various color models including RGB, CMYK, Black/white and spot color. Investigate color mixing.
Color and Color for the Web First, discuss idea of color (some overlap with lecture on HVS) First, discuss idea of color (some overlap with lecture on.
Light - Radiated when electrons in molecules move from a higher energy level to a lower one. A photon is produced to maintain conservation of energy and.
The Col o r of Light – Notes inverselyThe wavelength and frequency of EM waves are inversely proportional (c = f). Seven types of electromagnetic radiation.
Computer Graphics: Achromatic and Coloured Light.
Color Models Light property Color models.
Additive & Subtractive Digital Color
ITEC2110, Digital Media Chapter 2 Fundamentals of Digital Imaging
What is Color? Color is the light reflected from a surface.
Half Toning Dithering RGB CMYK Models
IMAGE PROCESSING COLOR IMAGE PROCESSING
Color Wheel Design Project
Display Issues Ed Angel
2.01 Understand Digital Raster Graphics
COLOR THEORY Color is the eye’s response to the visual spectrum from red to violet. Different colors in the spectrum are created by different wavelengths.
Design Concepts: Module A: The Science of Color
Color Theory.
COLOR space Mohiuddin Ahmad.
Color 2017, Fall.
Chapter 6: Color Image Processing
Color 2015, Fall.
Pantone Matching System
RGB Color Model CMY Color Model.
Introduction to Computer Graphics with WebGL
Why does a blue shirt look blue?
COMS 161 Introduction to Computing
Process Colors The World of Color Chapter 9 Non-Designer’s
Investigating Color In the Classroom
Dr. Jim Rowan ITEC 2110 Color Part 2
2.01 Understand Digital Raster Graphics
Dr. Jim Rowan ITEC 2110 Color Part 2
Light Waves Day 1.
Color.
2.01 Understand Digital Raster Graphics
Color and the Color Wheel
Communication of Color
Dr. Jim Rowan ITEC 2110 Color Part 2
HTML Colour Codes (Hexadecimal)
Color Model By : Mustafa Salam.
Color Models l Ultraviolet Infrared 10 Microwave 10
2.01 Understand Digital Raster Graphics
Color Theory and 2D Graphics Theory ST Nandasara/ADMTC
Presentation transcript:

Taken from Tom Jewett’s website (tomjewett.com) Color Tutorial Mimi Opkins CECS470 Spring 2017 Taken from Tom Jewett’s website (tomjewett.com)

Describing Color Most of the things that you will design with computers—user interfaces, Web pages, and even printed documents—will use color in some way. This tutorial is designed to help you understand and specify colors. Many of the graphics programs that we use present us with a bewildering array of choices for color selection. The most frequently used of these are covered here, in addition to some basic information that will help you understand why there are so many different color systems.

Color Systems Paint colors Visible light HSB: hue, saturation, and brightness Grayscale RGB: red, green, and blue CMYK: cyan, magenta, yellow, and black Spot color

Paint Colors This is the system that you probably learned in grade school, using poster paints or crayons. It is included here for the sake of comparison, since many people will remember it and perhaps wonder why the colors we use on computers are different. It is still valid for paints, although artist's colors generally are selected from color guides, using generic or proprietary names such as “cadmium red,” “burnt umber,” “thalo blue,” and so on. These colors could be described (approximately) by most of the systems that follow (HSB, RGB, etc.), but they usually aren’t.

Paint Colors (cont.) Primary colors: red, yellow, blue Secondary colors: orange = red + yellow, green = yellow + blue, purple = blue + red. All colors: red + yellow + blue = muddy brown. Black and white are separate colors, which may be mixed with others to make lighter or darker shades or tones.

Visible light The subtitle for this page should probably be, “do you remember Physics 101?” Color would not be possible without light; in fact, color is light—either viewed directly from a light source or reflected from objects that we see. What humans perceive as visible light occupies a tiny portion of the electromagnetic spectrum, from 4.3–7.5×1014 Hz in frequency (700 nm to 400 nm in wavelength). Below visible light is infrared, microwave, radio and TV, and electric power. Above it is ultraviolet, X-rays, and gamma rays. The frequency of the radiation determines the color of the light.

Visible Light (cont.) The lowest visible frequency is called red; the highest is violet. White light is an even distribution of all visible frequencies. Rainbows and prisms divide white light into the colors of the spectrum. What we call black is simply the absence of light. A white surface reflects all light frequencies equally; a black surface reflects no light. Colored surfaces reflect some frequencies and absorb others. Absolutely pure white light, as defined above, occurs only in laboratories; pure (single-wavelength) colors occur only in lasers; absolute black (no light) occurs only in photographic darkrooms. The same lack of precision is true of reflective surfaces, although our brains have been trained to distinguish colors under the normal lighting conditions that we encounter in daily life.

HSB: hue, saturation, and brightness This scheme provides a device-independent way to describe color. HSB may be the most complex scheme to visualize, especially since color selection software has to reduce its three descriptive dimensions to two dimensions on the monitor screen. But once learned, it can be useful in many instances. The easiest way to visualize this scheme is to think of the H, S, and B values representing points within an upside-down cone. At the edge of the cone base, think of the visible light spectrum (preceeding page), cut from the page and pasted into a circle with shading added to smooth the transition between the (now joined) red and magenta ends.

HSB Cone Hue is the actual color. It is measured in angular degrees counter-clockwise around the cone starting and ending at red = 0 or 360 (so yellow = 60, green = 120, etc.). Saturation is the purity of the color, measured in percent from the center of the cone (0) to the surface (100). At 0% saturation, hue is meaningless. Brightness is measured in percent from black (0) to white (100). At 0% brightness, both hue and saturation are meaningless. Brightness as it is described here refers only to relative values within a source that we are looking at (for example, a display screen or printed document). It is also called value or luminance. The distinction between levels of brightness is actually logarithmic, not linear as the HSB scale would imply.

Color (luminance) contrast The “B” scale of HSB is used to determine the contrast between two colors, regardless of hue; this is usually called the luminance ratio. It is important to Web designers, since a ratio of less than 5:1 between text and background (10:1 for small text) can be very difficult for many people to read.

Gamut Remember that the HSB system describes color independently of whatever physical system we are talking about. No two computer monitors can produce exactly the same colors; nor can two printers—and the colors you see on a monitor can be very different from those you see in print and those you see in “real life.” The actual set of colors that a given device can reproduce is called the color gamut of the device. Important to professional graphic artists and photographers, gamut information is probably beyond the needs of most Web developers.

Grayscale You can think of the grayscale as the brightness dimension of the HSB scheme (or the axis of the HSB cone)—with saturation held to zero, and hue therefore meaningless. The grayscale is used by photographers, and it is also useful in many documents where variations in gray can be used in place of costly color printing. Our eyes can actually distinguish about ten different shades of gray, a phenomenon which has been described most eloquently by the famous photographer Ansel Adams, with his “Zone system” of black-and-white negative exposure and print making. The only possible confusion with a gray scale—always described in percent—is to distinguish between the brightness scale (black = 0, white = 100) and the complimentary scale (100 minus brightness) that printers and photographers use to describe it.

Grayscale (cont.) Black = 0% brightness, 100% gray. White = 100% brightness, 0% gray. Gray is most often specified from white = 0, thus 10% grey = 90% brightness.

RGB: red, green, and blue This is the scheme that you will use most often when you are dealing with colors on a computer monitor—in graphics packages, in programming, or in Web pages. RGB describes colored light which is viewed coming from its source (colored light bulbs in a theater, the colors of a video display, or reflection from a white object). It is called an additive color system, since you add light from the primary colors to make new colors. The values for red, green, and blue may be specified in percent (0–100); this scale is useful for conversion from the CMYK model (following). However, it is more common to use a scale from 0–255 (decimal) or 00–FF (hex)—where 255 or FF = 100%. All modern video cards, which are capable of 16M colors, use one byte each (per pixel) for the R, G, and B values, so the 0–255 and 00–FF scales are more useful in this context. Remember: higher numbers mean more of each color of light. More is lighter, less is darker! You might still find a book or web site that recommends using “web safe” RGB colors, which are selected from a limited palette of 216 values. That was a good idea in the mid-1990s; with modern hardware, it’s no longer relevant.

RGB (cont.) Primary colors: red, green, blue Secondary colors: yellow = red + green, cyan = green + blue, magenta = blue + red All colors: white = red + green + blue (#FFFFFF) black = no light (#000000)

Mixing colors There are hundreds, probably thousands, of applications and Web sites that permit you to select colors to use on a Web page. However, learning the RGB system will give a developer much more control over the results than randomly clicking on whatever looks good.

CMYK: cyan, magenta, yellow, black This scheme is also known as process color, since it is used to print full-color images (such as photographs) with only four passes through the printing press—one for each color of ink. Your color ink-jet printer uses the same system. CMYK is a subtractive system, since it deals with light that is reflected from the printed page. What we perceive as color on a surface actually is the result of ink (or paint, etc.) absorbing some of the frequencies of the light that is striking it. When you compare CMYK to RGB, you will see that they are exactly complimentary (opposite). This is because cyan ink absorbs red light and reflects green and blue—remember than green + blue light = cyan. If we want a printed surface to appear blue, we need both cyan ink (to absorb red), and magenta ink (to absorb green)—so the only additive color left to be reflected is blue. Values for C, M, and Y are specified in percent (0-100; larger numbers are darker). Since even 100% C+M+Y does not result in a really perfect black (due to limitations of the printing process and inks), a fourth run through the press is made with black ink (also specified in percent, just like the grayscale). Full-color images are prepared for printing by making color separations—one black-and-white image for each of the primary color components. Modern graphics software will do this automatically. The printer’s job is to get the four passes through the press lined up exactly on top of each other; this is checked with small crosses outside the image itself, which are known as registration marks.

CMYK (cont.) Primary colors: cyan magenta yellow Secondary colors: blue = cyan + magenta, red = magenta + yellow, green = yellow + cyan. All colors: black = cyan + magenta + yellow (in theory). Black (K) ink is used in addition to C,M,Y to produce solid black. white = no color of ink (on white paper, of course).

Spot color If you only want to print one or two colors on a page, it makes no sense to use the four-color CMYK process. Instead, printers mix inks according to formulas to produce specific colors. The formulas are developed by ink manufacturers and by independent graphics companies. Spot colors are selected from books or charts that contain printed color samples, each of which is identified by some number. Usually, the numbered colors are also described in the CMYK system. One widely used numbering scheme is known as the Pantone® Matching System, or PMS. Professional graphics software packages provide color selection from this and other spot color systems. Spot color inks can also be printed in percentage tones, just like black ink with the greyscale. This gives the designer a wide range of "color" effects for much less than the cost of four-color printing. Example: One Pantone® color that is very similar to light tan is PMS 148C. In RGB, it is #FBD09D; in CMYK, 1C 20M 41Y 0K; in HSB, H3 S37 B99. Colors will not look the same on your monitor as they do on a printed page, even if you have a true-color display card and you enter the RGB or CMYK values precisely as given. Professional graphic artists use high-end monitors that have been calibrated to show colors as closely as possible to the printed page—but even then, direct and reflected light just aren't the same thing.

Web Colors Colors are displayed combining RED, GREEN, and BLUE light. RGB color values are supported in all browsers. An RGB color value is specified with: rgb(red, green, blue). Each parameter (red, green, and blue) defines the intensity of the color as an integer between 0 and 255. For example, rgb(0,0,255) is rendered as blue, because the blue parameter is set to its highest value (255) and the others are set to 0.

RGB Example Color RGB rgb(255,0,0) Red rgb(0,255,0) Green rgb(0,0,255)   rgb(255,0,0) Red rgb(0,255,0) Green rgb(0,0,255) Blue

Hexadecimal Colors Hexadecimal color values are also supported in all browsers. A hexadecimal color is specified with: #RRGGBB. RR (red), GG (green) and BB (blue) are hexadecimal integers between 00 and FF specifying the intensity of the color. For example, #0000FF is displayed as blue, because the blue component is set to its highest value (FF) and the others are set to 00.

Hexadecimal Colors Example RGB   #FF0000 rgb(255,0,0) Red #00FF00 rgb(0,255,0) Green #0000FF rgb(0,0,255) Blue

HTML Color Names All modern browsers support 140 color names HEX Color AliceBlue  #F0F8FF   Black  #000000   Chartreuse  #7FFF00  

Web Colors Refer to http://www.w3schools.com/colors/default.asp