© 2000 – all rights reserved – page 1 web color. © 2000 – all rights reserved – page 2...
TRANSCRIPT
© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 11© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 11
Web ColorWeb ColorWeb ColorWeb Color
© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 22© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 22
Issues with ColorIssues with ColorIssues with ColorIssues with Color• Every hardware setup is different
– graphics card quality and resolution– monitor quality and resolution– resolution and bit-depth settings– brightness and contrast settings
• Ambient light is different– public spaces– fluorescent glare– track lighting– darker rooms, higher contrast
© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 33© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 33
Color ModesColor ModesColor ModesColor Modes• Ignore CMYK, Lab,
Pantone, etc.• RGB• Indexed Color Mode
© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 44© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 44
Subtractive vs. Additive ColorSubtractive vs. Additive ColorSubtractive vs. Additive ColorSubtractive vs. Additive Color• Subtractive color is
– perceived based on the light reflected from an object at a particular frequency
– dark surfaces absorb photons– light surfaces reflect photons– paint, pencil, charcoal, ink…on paper or
canvas
• Additive color is– a combination of Red, Green, & Blue light
projected on a TV or computer monitor– e.g. R255 + G255 + B255 = White
© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 55© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 55
Color Management SystemsColor Management SystemsColor Management SystemsColor Management Systems• Combination of hardware...
– monitor– graphics card
• …and software– graphics card driver– operating system setups– applications like Photoshop, Kodak CMS
• Macintosh vs. PC color management– Macs display color lighter and brighter than
PC
© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 66© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 66
Pixels ‘n BitsPixels ‘n BitsPixels ‘n BitsPixels ‘n Bits• Computer color is specified in bit depth• Many designers use 16-bit “high color” or 24
and 32-bit “true color” settings• Many notebooks still only display 8-bit or 256
colors• Thus the need for Browser-Safe Color
• Try at home: Try at home: Changing Settings using Changing Settings using “Display” within Control Panel“Display” within Control Panel
© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 77© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 77
A Standard of SortsA Standard of SortsA Standard of SortsA Standard of Sorts• Lowest Common Denominator• 8-bit 256 color• minus 40 colors reserved for user interface• Microsoft & Netscape have agreed on a palette
of 216 “Browser-Safe Colors”– heavy on greens and blues– light on reds– too few light colors for backgrounds
© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 88© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 88
Filters and EffectsFilters and EffectsFilters and EffectsFilters and Effects• Add colors beyond the 216 Palette• When ready to save as GIF, convert these
colors back to “browser-safe” realm– Image>Mode>Indexed Color– Select Web from the Palette menu– Select Diffusion in the Dither menu
• Dithering helps simulate those colors which are not browser-safe
© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 99© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 99
Mixing Safe ColorsMixing Safe ColorsMixing Safe ColorsMixing Safe Colors• A trick attributed to Lynda Weinman, author of
Coloring Web Graphics
• Procedure:– Load the 216 Palette into the Swatches Palette– Create a new file 20 x 20 pixels, RGB, Transparent– View>Fit On Screen– Pick one color from palette, then pencil tool from
toolbar and fill alternate pixels– Repeat
This manual method has been automated by “DitherBox” a new filter in Adobe Photoshop 5.5 and 6.0
This manual method has been automated by “DitherBox” a new filter in Adobe Photoshop 5.5 and 6.0
© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 1010© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 1010
Naming Colors in HTMLNaming Colors in HTMLNaming Colors in HTMLNaming Colors in HTML• For non-graphic elements
like links and text• Over 100 available
– brown– green– hot pink– etc.
• Only 10 are browser-safe...
Black
White
Aqua
Blue
Cyan
Fuchsia
Lime
Magenta
Red
Yellow
Black
White
Aqua
Blue
Cyan
Fuchsia
Lime
Magenta
Red
Yellow
© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 1111© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 1111
Color Numbers in HTML: Color Numbers in HTML: Converting RGB to HexadecimalConverting RGB to HexadecimalColor Numbers in HTML: Color Numbers in HTML: Converting RGB to HexadecimalConverting RGB to Hexadecimal
Percent(white or color)
0%20%40%60%80%100%
RGB Value
051102153204255
Hexadecimal
00336699CCFF
Percent(black)
100%80%60%40%20%0%
© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 1212© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 1212
RGBRGBRGBRGB• Designed for color TV and color monitors• Additive Color
– R255 + G255 + B255 = White– R0 + G0 + B0 = Black– R102 + G102 + B102 = 60% Gray– R0 + G255 + B255 = Cyan– R255 + G0 + B255 = Magenta– R255 + G255 + B0 = Yellow
• Only some combinations are browser-safe
© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 1313© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 1313
Color for WebTVColor for WebTVColor for WebTVColor for WebTV• Only 163 of the 216
Palette can be used• Some colors are actually
illegal for TV broadcast
© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 1414© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 1414
Reducing File SizeReducing File SizeReducing File SizeReducing File Size• Pick fewer colors from outset• Reduce the number of colors
in the CLUT– every GIF has one– a palette of 216 colors attached
to the GIF file, even if one 2 are used
• Use a compression program like WebGraphics Optimizer or ImageReady
The
Color
Lookup
Table
The
Color
Lookup
Table
© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 1515© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 1515
Indexed Color ModeIndexed Color ModeIndexed Color ModeIndexed Color Mode• Designed for Web and other MultiMedia• Limits image to 256 colors (or fewer)• Creates a Color Lookup Table (CLUT)• Flattens the file• Sometimes destroys or degrades effects of
Photoshop filters or special effects• Creates web-ready GIF file
© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 1616© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 1616
Web Sites for Web-Safe ColorsWeb Sites for Web-Safe ColorsWeb Sites for Web-Safe ColorsWeb Sites for Web-Safe Colors
• http://www.eaglefp.com/java/colorcube/colorcube.htm– Nifty interactive tool for choosing a web-safe
background color
• http://www.visibone.com/colorlab/– Nice poster-based tool for identifying hex, RGB, and
CMYK values for web-safe colors– Full-color 18”x24” poster available for $15
• http://www.visibone.com/swatches/– Downloadable swatch palettes for many graphic
software programs
© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 1717© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 1717
Adobe PhotoshopAdobe Photoshop
ColorColorAdobe PhotoshopAdobe Photoshop
ColorColor
© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 1818© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 1818
Foreground/Background Foreground/Background IndicatorIndicatorForeground/Background Foreground/Background IndicatorIndicator
© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 1919© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 1919
Specifying ColorSpecifying ColorSpecifying ColorSpecifying Color• The Color Picker• The Color Palette (sliders)• The Swatches Palette• The Eyedropper Tool
• Practice Each ToolPractice Each Tool
© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 2020© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 2020
Adjusting ColorAdjusting ColorAdjusting ColorAdjusting Color• Brightness/Contrast• Hue/Saturation• Desaturate• Invert• Threshold• Posterize
• Practice Each ToolPractice Each Tool
© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 2121© 2000 – All Rights Reserved – Page © 2000 – All Rights Reserved – Page 2121
Web ColorWeb ColorWeb ColorWeb Color