Search Results for

    Show / Hide 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

    Unit: FlexCel.Core

    function TLabColor.CMCSquared(const Color2: TLabColor; const l: Integer; const c: Integer): Double;

    Parameters

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

    See also

    • TLabColor
    In This Article
    Back to top FlexCel Studio for VCL and FireMonkey v7.24
    © 2002 - 2025 tmssoftware.com