Lab

interface Lab : Color

Common interface for color spaces that express color with the following 3 components:

  • L: perceived lightness

  • a: amount of green/red color

  • b: amount of blue/yellow color

Implementations of this are usually uniform color spaces.

It may be helpful to convert these colors to polar dev.kdrag0n.colorkt.ucs.lch.Lch representations for easier manipulation.

Properties

a
Link copied to clipboard
abstract val a: Double

Green/red color component.

b
Link copied to clipboard
abstract val b: Double

Blue/yellow color component.

L
Link copied to clipboard
abstract val L: Double

Perceived lightness component.

Inheritors

CieLab
Link copied to clipboard
Oklab
Link copied to clipboard
Srlab2
Link copied to clipboard