Web Design For Dummies by Lisa Lopuck

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



Copyright Disclaimer:
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.
Popular ebooks
Eco-friendly approach of bio-indigo synthesis and developing purification methods towards isolation of indigo from indirubin and bacterial fragments by Ramalingam Manivannan & Kaliyan Prabakaran & Young-A Son(206099)
Personalized inhaled bacteriophage therapy for treatment of multidrug-resistant Pseudomonas aeruginosa in cystic fibrosis by unknow(174523)
CONSORT 2025 statement: updated guideline for reporting randomized trials by unknow(82972)
Critical evaluation of the ProfiLER-02 study design and outcomes by Vivek Subbiah & Razelle Kurzrock(82635)
Cardiac gene therapy makes a comeback by Oliver J. Müller & Susanne Hille & Anca Kliesow Remes(82445)
Whisky: Malt Whiskies of Scotland (Collins Little Books) by dominic roskrow(74436)
Unveiling the design rules for tunable emission in graphene quantum dots: A high-throughput TDDFT and machine learning perspective by Şener Özönder & Mustafa Coşkun Özdemir & Caner Ünlü(50890)
A yeast-based oral therapeutic delivers immune checkpoint inhibitors to reduce intestinal tumor burden by unknow(40259)
Covalent hitchhikers guide proteins to the nucleus by Alexander F. Russell & Madeline F. Currie & Champak Chatterjee(40215)
Meet the Authors: Christopher R. Mansfield and Emily R. Derbyshire by Christopher R. Mansfield & Emily R. Derbyshire(40092)
Alkaline-earth metals promote propane dehydrogenation with carbon dioxide through geometric effects: Altering the reaction pathway by unknow(32729)
Induced iron vacancies boosting FeOOH loaded on sustainable Fenton-like collagen fiber membrane for efficient removal of emerging contaminants by unknow(32504)
Efficient electric-field-assisted photochemical conversion of methane to n-propanol exclusively over penetrated TiO2Ti hollow fibers by Guanghui Feng(32452)
Bi2SiO5 nanosheets as piezo-photocatalyst for efficient degradation of 2,4-Dichlorophenol by Hangyu Shi & Yifu Li & Lishan Zhang & Guoguan Liu & Qian Zhang & Xuan Ru & Shan Zhong(32383)
A novel NDIPTA organic heterojunction photocatalyst with built-in electric field for efficient hydrogen production by Jiahui Yang & Baojun Ma & Yongfa Zhu(32360)
Enhanced conversion of methane to liquid-phase oxygenates via hollow ferrite nanotube@horseradish peroxidase based photoenzymatic catalysis by Jun Duan & Shiying Fan & Xinyong Li & Shaomin Liu(32330)
Ordered macroporous superstructure of defective carbon adorned with tiny cobalt sulfide for selective electrocatalytic hydrogenation of cinnamaldehyde by Xiao-Shi Yuan & Sheng-Hua Zhou & San-Mei Wang & Wenbo Wei & Xiaofang Li & Xin-Tao Wu & Qi-Long Zhu(32256)
What's Done in Darkness by Kayla Perrin(27144)
Topological analysis of non-conjugated ethylene oxide cored dendrimers decorated with tetraphenylethylene: Insights from degree-based descriptors using the polynomial approach by A Theertha Nair & D Antony Xavier & Annmaria Baby & S Akhila(26522)
Investigation of mechanical and self-healing properties of hydroxyl-terminated polybutadiene functionalized with 2-ureido-4-pyrimidinone by Mohsen Kazazi & Mehran Hayaty & Ali Mousaviazar(26457)