Add a consistent color system to a web project using CSS custom properties or Sass variables with no design decisions needed.
Import Open Color into a Tailwind CSS config to use its palette as your project's color scale.
Use the Sketch or Adobe swatch files to apply the same color palette in your design tool mockups.
Reference color variables by name in CSS, Less, Stylus, or TypeScript to keep your UI visually consistent.
Open Color is an open-source color palette designed for user interface work. It provides a curated set of named colors, each available in 10 brightness levels numbered 0 through 9, where 0 is the lightest and 9 is the darkest. The goal is to give designers and developers a consistent set of colors that look good individually and harmonious when used together, all calibrated so colors at the same brightness number feel visually equivalent across different hues. The palette is intended for UI elements like fonts, backgrounds, and borders. The project explicitly notes that you should not use these colors as a main brand identity color, since the values may change in future versions. What makes it practical is the wide range of supported formats. You can use Open Color in CSS custom properties, Sass/SCSS, Less, Stylus, JSON, SVG, TeX, TypeScript, Tailwind CSS, and several design tool formats including Sketch palette files, Inkscape, and Adobe color swatch formats. Each format follows a simple naming convention: the color name plus the brightness number, with a prefix like oc- to keep variable names distinct from anything else in your project. You install it with npm or bower, import the file for your preferred language into your project, then reference the variables by name. The README includes short code examples showing how to apply a gray background and a teal link color in Sass, Less, Stylus, and plain CSS. There are also community-contributed bindings for Julia and Go, meaning developers in those programming languages can use the same color values. Open Color has over 5,500 GitHub stars and works as a practical shortcut for anyone who wants a solid, off-the-shelf color system without making visual design decisions from scratch.
← yeun on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.