MrExcel Message Board


Go Back   MrExcel Message Board > The Lounge > Lounge v.2.0

Lounge v.2.0 A place to chat.

Reply
 
Thread Tools Display Modes
Old Feb 28th, 2009, 10:19 PM   #1
gardnertoo
 
gardnertoo's Avatar
 
Join Date: Jul 2007
Location: Goldendale, WA
Posts: 786
Default Color choices for colorblind viewers

A month or so ago I had to re-format a graph in Excel because the person for whom it was prepared is colorblind. The very distinct (to me) red and green lines on the graph were indistinguishable to him. My solution at the time was to change all the trends to black and play with heavy, light, and dashed lines to make the various trends visually different, as well as using filled-in and empty symbols, and different shape symbols. Once I had it to a point where each trend looked unique in black-and-white, I applied the colors again.

Today I stumbled upon a website which contains a suggested color palette in which each color can be distinguished from the others by people with each of the three major forms of Color Vision Deficiency (CVD). Here's a picture from the site:



The "seen by" colors do not represent an actual color seen by the CVD person. It is more of a way to demonstrate that the colors do not overlap. According to another site, when two colors are confusing to a CVD viewer, their brain makes a guess based on context. That site, which contains additional suggestions for document and presentations which are CVD-friendly (including the fact that a green laser pointer is more easily seen than the ubiquitous red laser):

http://jfly.iam.u-tokyo.ac.jp/color/
__________________
Gardnertoo: I just like to smile! Smiling's my favorite.
Boss: Make work your favorite. That's your new favorite.

Windows XP, Excel 2003

Last edited by gardnertoo; Feb 28th, 2009 at 10:22 PM. Reason: More detail
gardnertoo is offline   Reply With Quote
Old Mar 2nd, 2009, 12:04 AM   #2
SydneyGeek
MrExcel MVP
 
SydneyGeek's Avatar
 
Join Date: Aug 2003
Location: Sydney, Australia
Posts: 9,690
Default Re: Color choices for colorblind viewers

Hmmm...

Looking at the "seen by", I'm a Deutan. I find it really frustrating in presentations when reds are combined with multiple greens on screen. I see red and green as distinct colours -- no problem there. But I do have trouble picking out, say, a single red spot in a green background.
Thanks for the link!

Denis
__________________
Self-preservation: For when you've got yourself in a jam
------------------------------------------------------
My site contains a number of Excel and Access Resources
SydneyGeek is offline   Reply With Quote
Old Mar 9th, 2009, 09:28 PM   #3
Long Nose
 
Long Nose's Avatar
 
Join Date: Nov 2007
Location: Berne, IN the U.S.A.
Posts: 37
Default Re: Color choices for colorblind viewers

Seems like a Green and Yellow would work better than Green and Red.

That is a little scary thinking about what these people must see at traffic lights. Christmas might be a little blah too.
__________________
Just another day at the office.

Windows 7, Excel 2010
Long Nose is offline   Reply With Quote
Old Mar 9th, 2009, 10:01 PM   #4
Domski
 
Domski's Avatar
 
Join Date: Jan 2005
Location: Leeds, UK
Posts: 6,198
Default Re: Color choices for colorblind viewers

Working for the local government in Leeds I get regular comments regarding the colours and fonts used in the reports I produce. Sometimes it can be very difficult to strike a balance between what looks good and the guidelines issued by unions (don't get me started) and other groups.

I even recently got thrown to the dogs by one guy who constantly complained about the layout of a particular report which turned out to meet all the criteria but he still made such an issue of it that the whole thing then had to be redesigned which involved considerable extra development, production and printing costs only to be reversed when a group who represented those who suffered from these afflictions proposed it was complete rubbish.

AAARRRRGGGHHHHH!!!!
__________________
"May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

- Guidelines For Posting

- Mr Excel Articles and PodCasts

- Display sheet using HTML Maker or Excel Jeanie

- Something that makes me laugh

- Please try to remember to use code tags when posting your VBA code: [code] Your code here [/code]
Domski is offline   Reply With Quote
Old Mar 10th, 2009, 12:42 AM   #5
gardnertoo
 
gardnertoo's Avatar
 
Join Date: Jul 2007
Location: Goldendale, WA
Posts: 786
Default Re: Color choices for colorblind viewers

Here's a quick bit of code to swap in the CVD-approved color scheme in place of Excel's usual colors. Since it replaces the default colors with new default colors, the color change will be applied to existing charts if they are using the default scheme, as well as new charts created after the macro is run. I arranged the color choices to match up as closely as I could to the original colors, but had to diverge on the last few "Bar and Pie" colors, as the default scheme is heavy on variations of blue and has no green or orange.

Code:
Sub CVD_Chart_Colors()

'Replaces Excel's native default chart colors
'   with color choices which can be differentiated
'   by a viewer with any of the three forms of
'   Color Vision Defiency (colorblindness)

'Bar and Pie colors
ActiveWorkbook.Colors(17) = RGB(0, 114, 178)   'Deep blue   202°
ActiveWorkbook.Colors(18) = RGB(204, 121, 167) 'Red-Purple  336°
ActiveWorkbook.Colors(19) = RGB(240, 228, 66)  'Mustard      56°
ActiveWorkbook.Colors(20) = RGB(86, 180, 233)  'Sky Blue    202°
ActiveWorkbook.Colors(21) = RGB(0, 0, 0)       'Black         0°
ActiveWorkbook.Colors(22) = RGB(213, 94, 0)    'Vermillion   27°
ActiveWorkbook.Colors(23) = RGB(230, 159, 0)   'Tan          41°
ActiveWorkbook.Colors(24) = RGB(43, 159, 120)  'Blue-Green  160°

'Line colors
ActiveWorkbook.Colors(25) = RGB(0, 114, 178)   'Deep blue   202°
ActiveWorkbook.Colors(26) = RGB(213, 94, 0)    'Vermillion   27°
ActiveWorkbook.Colors(27) = RGB(240, 228, 66)  'Mustard      56°
ActiveWorkbook.Colors(28) = RGB(86, 180, 233)  'Sky Blue    202°
ActiveWorkbook.Colors(29) = RGB(204, 121, 167) 'Red-Purple  336°
ActiveWorkbook.Colors(30) = RGB(230, 159, 0)   'Tan          41°
ActiveWorkbook.Colors(31) = RGB(43, 159, 120)  'Blue-Green  160°
ActiveWorkbook.Colors(32) = RGB(0, 0, 0)       'Black         0°

End Sub
__________________
Gardnertoo: I just like to smile! Smiling's my favorite.
Boss: Make work your favorite. That's your new favorite.

Windows XP, Excel 2003
gardnertoo is offline   Reply With Quote
Old Mar 10th, 2009, 02:47 PM   #6
absquatulation
 
absquatulation's Avatar
 
Join Date: Nov 2005
Location: In front of PC
Posts: 47
Default Re: Color choices for colorblind viewers

Thanks for that,

I'm going to have great fun in producing graphs and charts for which I can cause total chaos to some readers.

Errr...... Have I got the wrong end of the stick? :evil
absquatulation is offline   Reply With Quote
Reply

Bookmarks

Tags
colorblind

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT +1. The time now is 04:23 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
All contents Copyright 1998-2010 by MrExcel Consulting.
diabetic desserts recipes recipes Diabetic Soups Holiday Pizza Recipes Popcorn Recipes Recipes For Microwave Pasta Recipes Casserole Recipes Chili Recipes Curry Recipes Crockpot Recipes Apples Recipes Bread Recipes Vegetarian Recipes Vegetable recipes Desserts Recipes Appetizers Ethnic Recipes Meat Dishes Barbecue Recipes Sauces Recipes Marinade Recipes Low Fat Recipes Frugal Gourmet Kitchen Classics Recipes On The Grill Cook Books Seafood Recipes Cajun Recipes Breads Low Fat Low Fat Breads Bread Machine Recipes Yeast Breads Quick Breads Fat Free Vegetarian Salad Recipes Eggplant Recipes Radish Recipes Tomato Recipes Jalapeno Recipes Potato Recipes Lettuce Recipes Cabbage Recipes Beans Ambrosia Recipes Biscotti Recipes Desserts Low Fat Cookie Recipes Cheesecake Recipes Cake Recipes Pie Recipes Muffin Recipes Custard Recipes Best Appetizers Appetizers Low Fat Salsa Recipes Dip Recipes International Recipes Afghan Recipes Alaska Recipes French Recipes German Recipes Greek Recipes Italian Recipes Spanish Recipes Thai Recipes Korean Recipes Chinese Recipes Mexican Recipes Indian Recipes Beef Recipes Pork Pork & Ham Pork Butts Pork Chop Recipes Pork Ribs Rulled Pork Poultry Recipes Stews Recipes Ground Beef Barbecue Grill Barbecue Smoker All Purpose Sauce BBQ Sauce Barbecue Sauce Carolina BBQ Sauce Pickle Recipes Marinades Smoking Low Fat Appetizers & Dips Low Fat Breakfast Low Fat Cakes Low Fat Cheesecakes Low Fat Cookies Low Fat Desserts Low Fat Fish & Seafood Low Fat Meats Low Fat Pasta Low Fat Pies Low Fat Salads Low Fat Sandwiches Low Fat Sauces & Condiments Low Fat Sides Low Fat Soups Low Fat Vegetarian Baker's Dozen Taste of Home Recipe Book Bon Appetit Cookbook Blacktie Cookbook Buster Cook Book Cookbook USA Cook Book Cook Book Sara's Cookbook Sara's Cookbook Appetizers and Dips Poultry recipes Diabetic recipes Holiday recipes Miscellaneous recipes 110 recipes 1986 Usenet cookbook 2900 recipes Cyberrealm recipes Great sysops of world Specialty recipes Ceideburg recipes Cheese recipes Chili recipes Fruits recipes Garlic recipes Great chefs of NY Londontowne recipes Raisins recipes Recipes for kids US Food Vegetarian recipes Bread recipes Drinks Meat Dishes Brisket recipes Caribou recipes Chicken recipes Filet mignons recipes Pork recipes Swordfish recipes Turkey recipes Pasta recipes Uncategorized recipes Ethnic recipes Canada recipes English recipes Ethiopia recipes Germany recipes Greece recipes Mexican recipes Philippines recipes Welsh recipes Microwave recipes Soups recipes Vegetable recipes Asparagus recipes Barley recipes Brown rice recipes Lentil recipes Mushrooms recipes Salads recipes Wild rice Desserts recipes Cakes recipes Chocolate recipes Cookies recipes Ice cream recipes