gitwtfhub

wtf is open-color?

tanykim/open-color — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2016-09-23

CSSAudience · designerComplexity · 1/5DormantSetup · easy

TL;DR

A ready-made, accessible color palette for websites and apps, with each color offered in ten brightness levels and tested for color blindness.

Mindmap

mindmap
  root((repo))
    What it does
      Provides color palette
      13 colors x 10 shades
      Color blind friendly
    Tech stack
      CSS
      SCSS
      LESS
    Use cases
      Consistent UI colors
      Accessible design
      Skip color debates
    Audience
      Designers
      Developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Build a consistent color system across a website or app UI.

REASON 2

Pick colors that stay readable for users with red-green color blindness.

REASON 3

Reference named color variables like $oc-teal-3 instead of hex codes in CSS/SCSS/LESS.

What's in the stack?

CSSSCSSLESSnpm

How it stacks up

tanykim/open-color0verflowme/alarm-clockagg23/csse333project
LanguageCSSCSSCSS
Last pushed2016-09-232022-10-032018-01-21
MaintenanceDormantDormantDormant
Setup difficultyeasyeasymoderate
Complexity1/52/53/5
Audiencedesignervibe coderdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 5min

Wtf does this do

Open Color is a pre-made palette of colors designed to help you build websites and apps that look good and work for everyone. Instead of picking colors randomly or spending time debating which shade of blue to use, you get a thoughtfully designed set of colors ready to drop into your project. The palette includes gray plus twelve other colors (red, teal, indigo, and so on), and each color comes in ten different brightness levels, numbered 0 through 9. So if you want a light teal background, you'd use one number, for a dark teal text, you'd use a different number from the same color family. The key benefit is consistency: once you're using Open Color, your whole interface uses colors that work together by design. What makes this palette special is that it's been tested to look good for people with color blindness. Specifically, it works well for people with deuteranopia and protanopia (the two most common types of red-green color blindness), so your app or website will be readable and pleasant for a wider audience out of the box. To use it, you install it into your project via npm, then import it into your CSS or SCSS/SASS/LESS files. Once imported, you reference colors by name, like $oc-gray-7 or @oc-teal-3, instead of typing hex codes. This makes your code cleaner and easier to update later. The authors do note that they may refine these colors in the future, so it's best used as a working palette rather than as your brand's permanent signature color.

Yoink these prompts

Prompt 1
Show me how to install Open Color and use its variables in a SCSS stylesheet.
Prompt 2
Help me pick a light background and dark text color pairing from the Open Color palette for a card component.
Prompt 3
Explain how Open Color's brightness scale (0-9) works so I can choose the right shade for a button.
Prompt 4
Why is Open Color considered accessible for people with color blindness?

Frequently asked questions

wtf is open-color?

A ready-made, accessible color palette for websites and apps, with each color offered in ten brightness levels and tested for color blindness.

What language is open-color written in?

Mainly CSS. The stack also includes CSS, SCSS, LESS.

Is open-color actively maintained?

Dormant — no commits in 2+ years (last push 2016-09-23).

How hard is open-color to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is open-color for?

Mainly designer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.