Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 454 Bytes

README.md

File metadata and controls

15 lines (8 loc) · 454 Bytes

cromatica

A small library that defines a color scheme for the 12 musical notes in the chromatic scale.

I created this scheme to color the notes on the fretboard diagrams displayed on ukealong.com. For an example see the Ukulele Chord Detector tool.

Installation

npm install cromatica

Usage

import { noteColor } from 'cromatica';

const color = noteColor('C');