Table of Contents

TLabColor.CMCSquared Method

Returns the CMC color distance between this color and color2 (distance returned is squared, so you need to get the sqrt if you want the real CMC value). Note that CMC is not symmetric (Color1.CMC(Color2) != Color2.CMC(Color1), so this color is the one used as reference.

Syntax

Namespace: FlexCel.Core

public Double CMCSquared(TLabColor Color2, Int32 l, Int32 c)

Parameters

<-> Parameter Type Description
Color2 TLabColor Color that will be compared against this reference.
l Int32 L parameter for CMC calculation. For acceptability (CMC2:1) this is normally 2, and for perceptibility (CMC1:1) this should be 1.
c Int32 C parameter for CMC calculation. This is normally 1.

See also