Named Color (nmdClr)

key: nmdClr

type: sC

  1. s: name for new color
  2. C: color chunk


Description

Define a new named color. This color can then be referenced using color name (clrNm) chunks.


Conventions

By convention the nmdClr chunk should appear before any references to the this color using clrNm chunks. The name and color should be entered into a color dictionary for later look up.


Examples

nmdClr "dark_blue"
  rgb
    0.1 0.1 0.3
  end
end