presentation
presentation
All postsexcalidraw Open Excalidraw

Open Colors

November 10, 2020, by LipisPart of a series where we pick apart various libraries and projects we use on Excalidraw.

The Open Colors color scheme has a total of 13 colors with 10 different brightnesses (0-9). For the canvas background we chose the lightest of the values (0), for the strokes the darkest one (9), and for the element background fill we went with the 6th (or the 7th, depending on how you count them).

Color pickers

I remember it was my very first pull request to Excalidraw to add the Open Colors color scheme. I’ve known about this color scheme for a while now, but never found a great project to actually use it on. Excalidraw was a perfect fit.

They say a picture is worth a thousand words. (Click on the image below to open it in Excalidraw.)

https://excalidraw.com/#json=5120999011909632,Y57VloPaA1LSKT4-1NTgNA

Eventually we decided to install their npm package so we don’t have to hand-code every value. We use it both in CSS, and TypeScript.


P.S. Thanks to @heeyeun and the contributors for creating and maintaining this awesome project. Open Colors come with MIT License, which means you can use it anywhere you like without restrictions.

Discuss on TwitterEdit on GitHub