Skip to content
/ cromatica Public

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

License

Notifications You must be signed in to change notification settings

yaph/cromatica

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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');