Slashdot Mirror


Developing for Color Blindness?

Satan's Librarian asks: "I develop software in the music industry. Most of the software is very graphical, with lots of knobs, buttons, and various other custom controls. Recently I realized one of my interfaces would be difficult for someone who was colorblind - fortunately before it shipped. How do other developers avoid this? Is there software available on XFree86, Mac OS X, or Windows that can let you run in a modified-color mode to emulate the various kinds of colorblindness? I've found one site with some cool demos of how colors are perceived with the various types of color blindness, and a lot of self-help sites and software to help people who are colorblind, but no software to help developers and graphics artists avoid causing people difficulties in the first place yet - although from the demos and articles, I expect the algorithms would be trivial. Seems to me that if the statistics I keep seeing for colorblindness are correct (~8% of males, ~2% of females), this could be an often ignored problem that excludes a lot of people from some software. If you're colorblind, how do you deal with websites and software that was poorly designed for you? Is it a problem often?"

18 of 57 comments (clear)

  1. Colorblindness references by Anonymous+Commando · · Score: 4, Informative

    Visibone has a good page dedicated to the more common forms of colorblindness, including a link to an excellent article that has downloadable color palettes (for Photoshop and Paintshop Pro, but I would assume that the Gimp would also be able to make use of those palletes) that you can apply to screenshots / mockups / etc. to simulate colorblindness. Not quite as seamless as having a "colorblindness" video mode, but still useful for determining a color palette to use.

    --
    Corporate Jenga: You take a blockhead from the bottom and you put him on top...
  2. Hardcoded colors by drdink · · Score: 4, Informative

    I am visually imapired, and the biggest complaint I have about software, especially for Windows, is products that have their own hardcoded colors or widget sets.
    I set my Windows to be white on black, and you would be surprised at how many programs have hardcoded black text, and as a result show up as black on black. I have notified many vendors about problems like this. Even Mozilla has suffered from this.
    If there is any advice I can give you, it is that you *must* allow color customizatino of all things, either by using the OS/toolkit's theming, or by giving your own interface.
    This includes text areas, menus, radio buttons (I've seen black on black ones), check boxes, ...

    --
    Beware, Nugget is watching... See?
    1. Re:Hardcoded colors by Satan's+Librarian · · Score: 2, Interesting
      Thanks for the insight!

      The toolkit theming is a great idea. For a lot of the music-oriented applications, simple preferences just won't cut it because the applications are too graphical. Check out Reason, GuitarPort, or Project 5 for some good examples of the types of interfaces I'm talking about.

      What I'd really like to do is make sure that every interface we work on works for colorblind people before it ships, so they won't have to find an artist to reskin it. Many of the apps I work on have an insane number of graphics, which is why we haven't put the effort into making a user-oriented skinning facility before. It'd be nice and I'll keep suggesting it, but it'd take a long time to build a full editor (or a single skin for that matter) and we've always had other features way more in demand by our users.

  3. Hire a colour blind person by keesh · · Score: 4, Insightful

    Or maybe just look for one already working with you. From the statistics, it's fairly likely that even small companies will have at least one colour blind person... Far easier than messing around with wierd software hacks which may or may not actually work.

  4. good reading by shdragon · · Score: 3, Informative

    Visibone carries free color blind palettes for photoshop, etc...

    Also, required reading for anyone wanting to see just how color blind people see.

    --
    "...we dont care about the economics; we just want to be able to hack great stuff."
  5. Living with color blindness by rubinson · · Score: 3, Interesting

    My color blindness is fairly severe -- red/green, red/black, brown/green, and trouble distinguishing shades. Some people who try to accomodate the color blind only think about red/green -- that doesn't help me.

    The cardinal rule for accomodating color blindness is this: don't make color the sole distinguishing aspect. Use text, symbols, whatever -- just make sure that you're using something other than color for identification. Best suggestion -- remove all color from your application and see if you can still use it. If you can, I'll be able to too. (Assuming, of course, that I can distinguish the identification from the color. Black text on a red widget doesn't help me. Think high contrast.)

  6. GIMP It. by frantzdb · · Score: 4, Informative

    Recent versions of the GIMP have a color-blind display filter. This allows you to see what things would look like to a colorblind person. Because it is a display filter, you can turn it on and off as you work on a UI element.
    --Ben

  7. Vischeck by ZarKov · · Score: 4, Informative

    First, thank you for taking the time to make your program more accessible. Color-blindness is one of the most common accessibility issues, but it's very easy to overlook. Here's some suggestions:

    * Don't rely on color alone. If you can provide indications other than color, and use color only as a supplement, it will make your program more accessible not only to color-blind people, but also to people with other visual impairments as well.

    * Don't hard-code your colors. It requires very little programmer effort to store color values in a config file somewhere. This way, even if you screw up, users can still make the software usable for themselves.

    * Actually check your colors. I don't know of any software to make your desktop run in a "color-blind mode" (though I'd love to see such software). But there are tools you can use to check screenshots and such. Vischeck is a great site that has software to simulate different types of color-blindness on images and web pages. You don't have to download anything. You can just upload an image to Vischeck, and it will transform it and give it back to you.

  8. Contrast by fm6 · · Score: 3, Interesting
    Contrast is a particularly important issue, and not just for the color blind. Too many web sites use color combinations that are hard to use unless you have a pretty good monitor and it's carefully configured and the user has near-perfect color vision.

    Here's one thing that I find frustrating: web design pundits love to talk about color palettes, and how using the correct one can supposedly maximize monitor compatibity and sight-impaired accessibility. But that's an obsolete concept, based on video adapter limitations that no longer apply. What I would find useful is sets of color pairs that could be used in combination to maximize contrast, and still design a web site that looks cool in full-color mode.

  9. Colorblindness is so misunderstood... by AlphaOne · · Score: 4, Informative

    Being "colorblind," I'm amazed at how misunderstood it is!

    The site you give only shows some of the most severe cases... most people who have color perception problems (as they typically are not blind to color) see almost all colors properly. The examples given are a complete *absense* of the indicated cones, not the typical "color shift" problem, where the red or green (and sometimes blue) cones have the wrong pigment in them and respond to slightly different colors.

    This is the type of blindness I have... my red cones are just a slightly "wrong" color red.

    Because of this, I have trouble decriminating between very light greens and yellow. Orange and green, if close enough on the color wheel, can also be confusing. UPS trucks look forest green to me in certain types of light (especially sunset) and bright brown in others.

    HOWEVER, I can identify almost all colors in a controlled environment.

    To give a good example most people could relate with... in MacOS X (my OS of choice :) ) the green and yellow interface buttons (for minimize and maximize) look like SIMILIAR colors, but I can distinguish between them.

    Say someone flashed me a card that was that color yellow and asked me whether it was yellow or green. I'd probably be right about 75% of the time, whereas someone with normal color vision would get it right every time.

    I have somewhat average color blindness, meaning that most people have about as much trouble as I do.

    However, a smaller percentage, about 3%, have very severe problems where they almost literally cannot see color at all. Greens appear black, reds are grey or pink, and blue and violet are just purply.

    --
    All opinions presented here aren't mine.
  10. The big color-blind pitfalls by phamlen · · Score: 5, Informative

    I'm moderately colorblind (y'all have WAY too many names for 'blue' - "purple", "mauve", "navy blue", etc.) I have even been known to take black and white photographs of fall foliage because I really can't see the subtle colors in the fall (yellow looks like green to me, red looks like brown).

    I'm not sure that I have a good answer for the writer, but I have some suggestions:

    1) Use icons to convey meaning, not just colors. So put up a triangle with an exclamation point instead of just writing text in red.

    2) It really doesn't matter that we can see the colors, just that we can differentiate them! Most of us cheat by seeing contrast rather than hue - that is, if I see a dark purple and a light blue, I can see the difference between them easily. It's just when they have the same intensity that I get stuck.

    3) we're pretty good at distinguishing a couple of colors - not so good with lots of them. So pick only a few colors - and change the intensity so they don't overlap.

    4) Consider building a "simplified" UI (ie, a graphically minimal UI). In my experience, I can operate fine through a minimal UI - usually because the colors are reduced. And I never mind losing out on the "pretty" interface because I can't see the colors anyway.

    5) Sometimes the ZOOM interface works wonders. If I can enlarge a picture 10x, I can usually see the subtle differences in the interface. It's just when they are really small and close together that I can't tell the difference.

    I hope this helps.

    -Peter Hamlen

  11. How about modifying gamma ramp? by mr3038 · · Score: 2, Interesting
    Most recent graphics cards allow loading user defined gamma ramp. Does anybody know if colorblindness could be emulated with suitable gamma ramp only and perhaps even way to generate one? If the effect is created by hardware, every application could be easily tested and one could toggle the "colorblindness mode" on and off on the fly.

    Colorblindess emulation modes that require cross-mixing color channels would require more than a simple gamma ramp modification AFAIK but if you're just interested if some colors are distinguishable, monocrome emulation should do just fine.

    --
    _________________________
    Spelling and grammar mistakes left as an exercise for the reader.
  12. Wow... by ae0nflx · · Score: 2, Insightful

    I never thought I'd see an article about this. This is really cool. I'm colorblind myself and this is a huge problem for me.

    I do essential everything using positioning. I have an excellent memory for where I put things and where things are located on the desktop and on menus, etc. etc.. I use OSX as my primary desktop and I can't tell any of the stinkin' buttons apart. I especially have trouble with iTunes when in its shrunken format.

    Another problem is my love of web design. Although not as much of a problem anymore, back in the day, people would use colors that were very similar to one another in terms of darkness, this is very difficult for me to see. Especially in the day of patterned backgrounds and such...I never really found a work around, except back when my monitor had a 16 color option, which made things much more distinct (e.g. red was red, no worries of weird halfshades and such). However, now it is much more difficult to find a graphics card that supports 4-bit graphics. (Why have millions when you can just have 16...). So if something is really difficult (like some games... for example) I'll have a friend or my sister help me out. I'd just like to put in a plug for the only game that has a colorblind option (at least that I've seen, please tell me others if you've seen them, thanks), which is Frozen-Bubble. I'd just like to tell those developers how much I appreciate it.

  13. Color Schemes by Sunlighter · · Score: 2, Interesting

    I have a friend who is colorblind and so I have put some thought into this. I think the best thing to do is support color schemes (which can be read from a file or something) and have four color schemes in addition to full color:

    • Red-Cyan (for people who have trouble distinguishing green and blue)
    • Green-Magenta (for people who have trouble distinguishing red and blue)
    • Blue-Yellow (for people who have trouble distinguishing red and green)
    • Grayscale (for people who have trouble distinguishing red, green, and blue)

    I think this is really all you can do. A color monitor has only three spectral lines, anyway -- red, green, and blue -- so if a user has trouble distinguishing two of them, connect those two (so no distinction is necessary), and if a user has trouble distinguishing any of them, connect all three.

    --
    Sunlit World Scheme. Weird and different.
  14. Apple User Interface Guidelines by Zachary+Kessin · · Score: 2, Informative

    Apple at least used to publish a set of UI Guidelines which talked about this issue. I last saw them 10+ years ago but they said never make color be the only thing that seperates two objects. (They also point out that not everyone has a color monitor, which was much more true in the late 80's).

    If you can find a copy of the Apple UI guidelines they are very good reading. If not try looking at your UI in black and white, or at least in fewer colors than you normally do. Not everyone has a big fancy monitor and video card you know.

    --
    Erlang Developer and podcaster
  15. Grayscale in Mac OS X Jaguar by JonoPlop · · Score: 2, Informative

    In Mac OS X 10.2, you can open System Preferences -> Universal Access. There's a button there called "Set display to grayscale", which will do as it says. This is great to check things like this (also useful for web design).

  16. Common enough to bite me by oren · · Score: 3, Interesting

    I wrote a path-finder program using Dijkstra's algorithm (and then A*, etc.). At any rate, it dynamically displayed its results showing a red path over a green graph (you can see where this is going...).

    It was working very nicely and the animation was very fun to watch. I was proudly demonstrating it to a co-worker - "See how it just sniffs this dead-end and back-tracks left here?". He looked bewildered: "I don't see anything". Exasperated, I pointed to the bright red line of the path: "Here, *this*! - what are you, color blind?".

    Him: "Yes".

    Oops.

    I spent the next 5 minutes apologizing and then another half hour adding user control over the animation colors so he could see the results. And never took this for granted again.

  17. Charge Indicators by sadida_333 · · Score: 3, Insightful

    With all of the talk about software, let's not forget one of the worst offenders, battery charge LEDs.

    "The indicator will be red while charging and turn green when charged."

    Fantastic. That doesn't help me a bit :)

    If you ever work on a charge indicator, please add a blink pattern as well.

    Multi-color LEDs are evil to color blind folks.