skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class LabColor

Represents a color in the CIE Lab* color space, which is device-independent and perceptually uniform.

Inheritance
System.Object
ColorBase
LabColor
Inherited Members
ColorBase.Equals(Object)
ColorBase.GetHashCode()
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Fixed.Model.ColorSpaces
Assembly: Telerik.Windows.Documents.Fixed.dll

Syntax

public class LabColor : ColorBase, IEquatable<ColorBase>, ISolidColor

Constructors

LabColor(Double, Double, Double)

Initializes a new instance of the LabColor class with CIE Standard Illuminant D65.

Declaration
public LabColor(double l, double a, double b)
Parameters
System.Double l

The L* component.

System.Double a

The a* component.

System.Double b

The b* component.

LabColor(Double, Double, Double, Double[])

Initializes a new instance of the LabColor class with a custom white point.

Declaration
public LabColor(double l, double a, double b, double[] whitePoint)
Parameters
System.Double l

The L* component.

System.Double a

The a* component.

System.Double b

The b* component.

System.Double[] whitePoint

The white point component.

LabColor(Double, Double, Double, Double[], Double[])

Initializes a new instance of the LabColor class with custom white point and range.

Declaration
public LabColor(double l, double a, double b, double[] whitePoint, double[] range)
Parameters
System.Double l

The L* component.

System.Double a

The a* component.

System.Double b

The b* component.

System.Double[] whitePoint

The white point component.

System.Double[] range

The range component.

Properties

A

Gets or sets the a* (green-red) component of the Lab color.

Declaration
public double A { get; set; }
Property Value
System.Double

The a* component.

B

Gets or sets the b* (blue-yellow) component of the Lab color.

Declaration
public double B { get; set; }
Property Value
System.Double

The b* component.

L

Gets or sets the L* (lightness) component of the Lab color.

Declaration
public double L { get; set; }
Property Value
System.Double

The L* component.

Range

Gets or sets the range component.

Declaration
public double[] Range { get; set; }
Property Value
System.Double[]

The range component.

WhitePoint

Gets or sets the white point component.

Declaration
public double[] WhitePoint { get; set; }
Property Value
System.Double[]

The white point component.

Methods

Equals(ColorBase)

Equals the specified other.

Declaration
public override bool Equals(ColorBase other)
Parameters
ColorBase other

The other.

Returns
System.Boolean

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

Overrides
ColorBase.Equals(ColorBase)
Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.