Web Design For Dummies by Lisa Lopuck
Author:Lisa Lopuck
Language: eng
Format: epub, pdf
Publisher: For Dummies
Published: 2012-03-13T16:00:00+00:00
Figure 9-4: The images in this example are both 24-bit. One looks grainy, however, because it’s displayed on an 8-bit monitor.
Hexadecimal Color Code
When you specify colors in HTML or CSS code, you don’t use their RGB numbers. Instead, you use something called a hexadecimal code. For example, plain old white is 255,255,255 in RGB, but it is #FFFFFF in hexadecimal code. In hexadecimal code, the first two digits define the red color, the next two digits define the green, and the last two digits define the blue of the RGB system. Using the #FFFFFF example, the first two digits FF equal 255. So this color is R=255, G=255, and B=255. All three colors at full power (255) make white.
Imagine that you’re designing a website for a company that has a handful of company colors that they want you to use throughout the site. Often times, these colors are specified as PMS colors (Pantone Matching System). So just how do you go from PMS or RGB to hexadecimal color codes?
Instead of using a super-duper decoder ring to translate color values into hexadecimal code and vice versa, you can retrieve the code in both Adobe Photoshop and Adobe Fireworks. (Otherwise you really do need a special hexadecimal calculator, and they do exist online!)
Here’s how to use Adobe Photoshop to find the hexadecimal number of a sample color, or of a known PMS or RGB color:
1. Launch Photoshop.
2. Choose File⇒Open from the menu bar.
Navigate to an image you want to sample a color from and open it.
If you don’t have an image to sample and just need to translate an RGB or PMS color value, you do not need to open a file.
3. Click on the Foreground color swatch at the bottom of the Tools panel.
As shown in Figure 9-5, a pop-up palette appears, offering a Color Picker for you to use. Note as well that your cursor turns into an eyedropper.
4. Move your cursor over your image, and click on the color you want to sample.
Notice the hexadecimal readout updates in the Color Picker.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
What's Done in Darkness by Kayla Perrin(26603)
The Fifty Shades Trilogy & Grey by E L James(19087)
Shot Through the Heart: DI Grace Fisher 2 by Isabelle Grey(19070)
Shot Through the Heart by Mercy Celeste(18944)
Wolf & Parchment: New Theory Spice & Wolf, Vol. 10 by Isuna Hasekura and Jyuu Ayakura(17125)
Python GUI Applications using PyQt5 : The hands-on guide to build apps with Python by Verdugo Leire(17006)
Peren F. Statistics for Business and Economics...Essential Formulas 3ed 2025 by Unknown(16885)
Wolf & Parchment: New Theory Spice & Wolf, Vol. 03 by Isuna Hasekura and Jyuu Ayakura & Jyuu Ayakura(16833)
Wolf & Parchment: New Theory Spice & Wolf, Vol. 01 by Isuna Hasekura and Jyuu Ayakura & Jyuu Ayakura(16459)
The Subtle Art of Not Giving a F*ck by Mark Manson(14362)
The 3rd Cycle of the Betrayed Series Collection: Extremely Controversial Historical Thrillers (Betrayed Series Boxed set) by McCray Carolyn(14149)
Stepbrother Stories 2 - 21 Taboo Story Collection (Brother Sister Stepbrother Stepsister Taboo Pseudo Incest Family Virgin Creampie Pregnant Forced Pregnancy Breeding) by Roxi Harding(13656)
Scorched Earth by Nick Kyme(12778)
Drei Generationen auf dem Jakobsweg by Stein Pia(10971)
Suna by Ziefle Pia(10894)
Scythe by Neal Shusterman(10344)
The Ultimate Python Exercise Book: 700 Practical Exercises for Beginners with Quiz Questions by Copy(9807)
D:\Jan\FTP\HOL\Work\Alien Breed - Tower Assault CD32 Alien Breed II - The Horror Continues Manual 1.jpg by PDFCreator(9799)
De Souza H. Master the Age of Artificial Intelligences. The Basic Guide...2024 by Unknown(9757)
