pitchtools.color_by_pc — Abjad v1.1.1 documentation

### Navigation

- index
- modules |
- next |
- previous |
- Project Abjad »
- Abjad v1.1.1 documentation »
- Abjad API »

# pitchtools.color_by_pc

`abjad.tools.pitchtools.` `color_by_pc`(pitch_carrier)

  Color pitch_carrier according to pitch-class.

      abjad> t = Note(0, (1, 4))
      abjad> pitchtools.color_by_pc(t)
      abjad> print t.format
      \once \override NoteHead #'color = #(x11-color 'red)
      c'4

### Navigation

- index
- modules |
- next |
- previous |
- Project Abjad »
- Abjad v1.1.1 documentation »
- Abjad API »