Documentation ¶ Overview ¶ Package distance implements the CMC(l:c) algorithm for finding the distance between two colours Index ¶ func Distance(a, b color.Color) float64 Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Distance ¶ func Distance(a, b color.Color) float64 Implements the "Delta E (CMC)" colour distance algorithm. Uses two parameters l and c, typically expressed as CMC(l:c). This, then, implements CMC(2:1). See http://www.brucelindbloom.com/index.html?Eqn_DeltaE_CMC.html Types ¶ This section is empty. Source Files ¶ View all Source files cmclc.go Click to show internal directories. Click to hide internal directories.