New to Telerik Document ProcessingStart a free 30-day trial

CIE Lab* color (device‑independent, perceptually uniform); use when accurate color appearance across devices is required.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model.ColorSpaces

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

C#
public class LabColor : ColorBase, IEquatable<ColorBase>

Inheritance: objectColorBaseLabColor

Implements: IEquatable<ColorBase>

Inherited Members ColorBase.Equals(object)ColorBase.GetHashCode()

Constructors

Creates a LabColor with custom white point and range.

C#
public LabColor(double l, double a, double b, double[] whitePoint, double[] range)
Parameters:ldouble

The L* component.

adouble

The a* component.

bdouble

The b* component.

whitePointdouble[]

The white point component.

rangedouble[]

The range component.

Creates a LabColor with a custom white point.

C#
public LabColor(double l, double a, double b, double[] whitePoint)
Parameters:ldouble

The L* component.

adouble

The a* component.

bdouble

The b* component.

whitePointdouble[]

The white point component.

Creates a LabColor using CIE Standard Illuminant D65.

C#
public LabColor(double l, double a, double b)
Parameters:ldouble

The L* component.

adouble

The a* component.

bdouble

The b* component.

Methods

Equals the specified other.

C#
public override bool Equals(ColorBase other)
Parameters:otherColorBase

The other.

Returns:

bool

True if the specified color is equal to the current Lab color; otherwise, false.

Overrides: ColorBase.Equals(ColorBase)

Properties

Gets or sets the a* (green–red) component.

C#
public double A { get; set; }
Property Value:

The a* component.

Gets or sets the b* (blue–yellow) component.

C#
public double B { get; set; }
Property Value:

The b* component.

Gets or sets the L* (lightness) component.

C#
public double L { get; set; }
Property Value:

The L* component.

Gets or sets the valid range for a* and b* components.

C#
public double[] Range { get; set; }
Property Value:

The range component.

Gets or sets the white point used by the Lab color space.

C#
public double[] WhitePoint { get; set; }
Property Value:

The white point component.