Design Fundamentals for the Web – Session 8

March 24, 2015

Review

Last week’s agenda

Review of the Web Design Process

  1. Identify the types of users you need to communicate with
  2. Identify what each user type needs to be able to do
  3. Organize your content semantically
  4. Compose appropriate layouts for your content
  5. Create visual hierarchies for your content with type
  6. Apply design principles to emphasize relationships between elements
  7. Create mood and enhance your visual hierarchies and element relationships using color
  8. Breath life into your design with behavioral feedback
  9. Test, rinse & repeat!

Color

Color is how we perceive different wavelengths of light. When we see a color in the real world, it represents the wavelenght or combination of wavelengths that are reflected by the object. If we see a black cat, that cat's fur absorbs most wavelengths of light so we don't see light reflected. If we see a white cat, that cat's fur reflects most wavelengths of light, so we see them all together – as the color white.

Digital Devices & Color

Digital devices present color differently. On a digital device, the screen is made up of thousands of little light emitters that are black by default. We call these emitters pixels. Depending on the device, these pixels can emit anywhere from 256 to over 16 million colors, which is accomplished by emitting combinations red, green & blue light, all colors off is black, and all on is white.

Device Color Depth

More info on web and device colors

Representing Color with CSS

CSS Properties that take a color value

You can apply color to content elements using the following CSS properties:

Color values for the above properties can be represented using hexadecimal, RGB, RGBA, HSL or HSLA color values.

Let's experiment using CSSDeck

Hexadecimal Color Values

Hexadecimal is a numbering system based on the number 16. Number values range from 0 to 9 and then A to F, where 0 = 0 and F = 15. You can combine hexadecimal digits to get bigger numbers. Hexadecimal colors have 3 components, red, green & blue, each represented by two hexadecimal (00-FF) value positions representing 0-255.

Examples: (# indicates this is a hex value)

Let's experiment with hexadecimal color using CSSDeck

RGB – Red, Green Blue

Similar in concept to hex color, RGB Color uses decimal numbers from 0-255 for each color channel:

Let's experiment with RGB solor using CSSDeck

RGBA – Red, Green, Blue, Alpha

Same as RGB but with an 8 bit alpha channel for transparency:

Let's experiment with RGA color using CSSDeck

HSL – Hue, Saturation, Lightness

HSL stands for Hue, Saturation and Lightness, where Hue is the base color on the color wheel (0/360 = red, 120 = green, 240 = blue), Saturation is how much color (0% is no color, 100% is full color) and Lightness is the brightness (0% = black, 100% most bright):

Let's experiment with HSL color using CSSDeck

HSLA – Hue, Saturation, Lightness, Alpha

Same as HSL but with an 8 bit alpha channel for transparency:

Let's experiment with HSLA color using CSSDeck

More info on CSS color values

The psychology of color

Colors have a strong psychological effect upon users of your site, and can be used to establish a mood as well as create similarity, contrast, rhythm and dominance:

Demos

descenders vs. underlines

Choosing colors

There are a number of approaches to selecting color schemes outlined in Design for Hackers, but they should all be used in support of the research you did with your User Personas and User Stories. Once you have an idea of who will be using your site and why, you can apply the methods outlined in the book. Tools like Color Scheme Designer can also help.

Exercise

Open up your text editor or CSSDeck and experiment with color on your project from last week. Pay particlular attention to using color in support of your content hierarchies and design principles from last week.


Assignment 8

Reading

Design Notebook

Create a new page in your Design Notebook and title it "Color" and today's date. Surf the web looking for sites that use color effectively. Collect three links and come to class next week ready to share them with the class. What kind of palette are the using? Monochromatic? Adjacent colors? Triad? Etc.

Design

Continue Refining Your Pages

Continue refining your page templates, using the color palette tools describing in class to experiment with different palettes for your site. Pay attention to your basic design principles from last session, using color to support your design concepts and add mood.