12/20/20151 Color Fall, 2010 Modified by Linda Kenney 10/26/10.

Slides:



Advertisements
Similar presentations
Cascading Style Sheets. Next Level Cascading Style Sheets (CSS) - control the look and feel of your HTML documents in an organized and efficient manner.
Advertisements

Web Development & Design Foundations with XHTML Chapter 3 Key Concepts.
Cascading Style Sheets: Basics I450 Technology Seminar Copyright 2003, Matt Hottell.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
CSS cont. October 5, Unit 4. Padding We can add borders around the elements of our pages To increase the space between the content and the border, use.
1 Web Developer & Design Foundations with XHTML Chapter 9 Key Concepts.
Web Development & Design Foundations with XHTML Chapter 3 Key Concepts.
XP Introducing Cascading Style Sheets With Cascading Style Sheets (CSS), you can create one or more documents that control the appearance of some or all.
Introduction to Cascading Style Sheets (CSS) Module 2: HTML Basics LESSON 4.
Tutorial 3 – Designing a Web Page Working with Color & Graphics Mrs. Wilson.
Design, Formatting, CSS, & Colors 27 February, 2011.
Lecture 5. CSS 2 What style will be used when there is more than one style specified for an HTML element? Generally speaking we can say that all the styles.
1 CSS Styling with Fonts and Colors. 2 CSS Cascading Style Sheets and fonts CSS provides Style or Presentation options for our html pages CSS properties.
HTML Computing Concepts HTML - An Introduction 1.
Workshop: CSS-Part I Cascading Style Sheets add style to your HTML web pages.
RGB color model Skills: none IT concepts: combining red, green and blue light to generate colors This work is licensed under a Creative Commons Attribution-Noncommercial-
More HTML Chapter 4. 2 Nesting Tags How do you write the following in HTML? The wrong way: This is really, REALLY fun ! Tags must be correctly nested.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 3 Key Concepts 1 Copyright © Terry Felke-Morris.
Using color and fonts in HTML and XHTML Please use speaker notes for additional information!
HTML BASIC
3.1 Cascading Style Sheets. Motto Fashions fade, style is eternal. —Yves Saint Laurent.
Stylin’ with CSS. 2 Topics What is CSS? Why CSS? CSS Examples.
HIGHER COMPUTING CSS. WHAT IS CSS? CSS: Cascaded Style Sheets used to separate a web site’s content(information) from its style(how it looks).
TECH2018 Multimedia and the Internet More about CSS and Page Layouts.
1 Web Developer Foundations: Using XHTML Chapter 9 Cascading Style Sheet Concepts.
Chapter 4 Cascading Style Sheets Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Chapter 11 Cascading Style Sheets: Part I The Web Warrior Guide to Web Design Technologies.
Cascading style sheets (CSS)
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 3 Key Concepts 1 Copyright © Terry Felke-Morris.
CSS Cascading Style Sheets By Garrett Garman. CSS Why use Style Sheets? Separates Appearance and Structure Modularity Quick and Easy changes Flexibility.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 3 Key Concepts 1 Copyright © Terry Felke-Morris.
HTML Colors Color is one of the most important ideas of the Principles of Design. It is used to separate and emphasis elements in a design. Insert a picture.
Learning HTML. HTML Attributes HTML elements can have attributes Attributes provide additional information about an element Class – specifies a class.
INTRODUCTION TO HTML5 Styling Text. Change the Font Size  You can use the font-size property to change the font size for a document’s text.  Instead.
Chapter 12 Cascading Style Sheets: Part II The Web Warrior Guide to Web Design Technologies.
1 Background and Text Links CGS3066 Rory J. De Simone.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 3 Key Concepts 1 Copyright © Terry Felke-Morris.
Kevin Murphy Web Color Basics Masters Project CS 490.
Unit 1 — HTML BASICS Lesson 2 — HTML Organization Techniques.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Formatting Text and Lists Essentials for.
Introduction To CSS.. HTML Review What is HTML used for? Give some examples of formatting tags in HTML? HTML is the most widely used language on the Web.
Chapter 6 An Introduction to HTML Pages Tag Nesting You can put two tags together to combine the effects Bold and underlined But make sure.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
Cascading Style Sheets Orientation Learning Web Design: Chapter 11.
Tutorial #3 Cascading Style Sheets. Tutorial #2 Review - Anchors Links to Site DMACC Internal Links Go to Top Mail To me Local.
Most of the attributes of the body element specify colors for the Web page. Note: The background attribute won’t be useful till we learn about graphics.
1 Web Developer Foundations: Using XHTML Chapter 4 Key Concepts.
1 Web Developer & Design Foundations with XHTML Chapter 4 Key Concepts.
Web Colors. Web Colors: Up until now, we have been using only pre- defined color names, such as "orange" and "lightblue". As web designers, we need the.
Softsmith Infotech CSS. Softsmith Infotech CSS Cascading Style sheets Enhances look and feel of the site Adds more features to plain HTML Can define properties.
Stylin’ with CSS Monday October 8 th and Tuesday October 9 th.
CSS Cascading Style Sheets. CSS Advantages Greater typography and page layout control Style is separate from structure Styles can be stored in a separate.
 To specify blue as the background color for a page, put bgcolor=“blue” inside the tag. Of course, you can use many colors other than blue. You can choose.
Cascading Style Sheets Eugenia Fernandez IUPUI. CSS Purpose CSS allow you to specify the style in which your XML elements are displayed. CSS were originally.
XHTML Formatting font with a style declaration. Formatting Font HTML uses the font tag to change size and family of font But… the font tag is being deprecated.
Elements of Design 1.02 Investigate Design Principles and Elements.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Basic Document Structure.
CSS Hadas Kahsay. Overview  What is CSS  Basic syntax of CSS Rules  How to link CSS style to html documents  Browsers and CSS  Advantages of CSS.
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.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 3 Introducing Cascading Style Sheets.
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
Introduction To CSS. Lesson 1: History of CSS CSS was proposed in 1994 as a web styling language. To helps solve some of the problems HTML 4. There were.
CONFIGURING COLOR AND TEXT WITH CSS Chapter 3. Cascading Style Sheets (CSS) Used to configure text, color, and page layout. Launched in 1996 Developed.
Web Development & Design Foundations with HTML5 8th Edition
Basics of Web Design Chapter 4 Cascading Style Sheets Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D.
Web Development & Design Foundations with HTML5
Basics of Web Design Chapter 4 Cascading Style Sheets Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D.
Web Development & Design Foundations with HTML5
Basics of Web Design Chapter 4 Cascading Style Sheets Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D.
Presentation transcript:

12/20/20151 Color Fall, 2010 Modified by Linda Kenney 10/26/10

12/20/20152 The RGB color model Computers use the RGB color model to produce the colors you see on the monitor. This is an additive color model that combines red, green and blue as the primary colors.  By mixing red, green and blue light all the other visible colors can be generated. Red alone produces red. Green alone produces green. Blue alone produces blue. Red and green produce yellow. Green and blue produce cyan. Blue and red produce magenta. Red, blue and green produce white. The absence of all produces black. By altering the relative amounts of red, green and blue, all the other visible colors can be generated.

12/20/20153 The RGB color model (cont.) The values of red, green, and blue vary from 0 to 255. The numbers are always listed in the same order – red, green, blue. The RGB value for the color red is (255, 0, 0). The RGB value for the color green is (0, 255, 0). What is the RGB value for the color blue?

12/20/20154 The Hexadecimal Color Model Hexadecimal numbers (base 16) are also used to represent colors. (See the example above.) Hexadecimal uses the characters 0 – 9 and A-F. Hex value pairs range from 00 to FF To specify color, use 6 characters. The first 2 characters represent the amount of red. The next 2 characters represent the amount of green. The last 2 characters represent the amount of blue

12/20/20155 Hexadecimal Color Values Examples: # black#FFFFFF white #FF0000 red#00FF00 green #0000FF blue

12/20/20156 The Web Color Palette A collection of 216 colors that display the same on both the Mac and PC platforms. See the Color Chart at

12/20/20157 Color names Some colors can be referred to by their names. A chart for these is shown below. However, be aware that the W3C does not recommend the use of color names (use hexadecimal values instead).

12/20/20158 Using color Can be used with the attributes (deprecated): bgcolor (background color) text (text color) link (color of hyperlinks) * vlink (color of visited hyperlinks) * alink (color of active hyperlinks) * * It’s “better” not to change the default link colors. Why?

12/20/20159 Accessibility and color Not all users can distinguish all colors. See: It’s best to choose background colors with a high amount of contrast. Avoid using the following colors next to each other – red, green, brown, gray, purple. White, black and shades of blue and yellow are easier to differentiate.

12/20/ Inline styles (CSS) Coded in the body of the web page as a style attribute of an XHTML tag. The style only applies to the particular tag that contains it as an attribute. Use inline styles instead of deprecated attributes!

12/20/ Common CSS color properties background-color border-color color (text color) Examples: This is red. ….

12/20/ Common CSS font properties font-family (font-family:Arial) font-size (font-size:small) font-style (font-style:italic) font-variant (font-variant:small-caps) font-weight (font-weight: bold)

12/20/ element Earlier, we learned that the container element can be used to create generic divisions within an XHTML document. The element is a block element that has no other meaning in the context of XHTML structure. A line break is placed before and after the division.

12/20/ element There’s a similarly generic inline element called The element has no implied structural meaning and therefore no default presentation associated with it. No line breaks are added. It is only used if you want to format an area contained within another, such as part of a paragraph.

12/20/ Since both the and elements have no implied or default presentation, they are commonly used with CSS. Although it’s by no means a requirement to use and elements with CSS, it is a very common and convenient mechanism. Be careful, however, not to forget their end tags!

12/20/ Some information used from: Web Developer & Design Foundations with XHTML by Terry Felke-Morris