Colord.ColorLab¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
L |
r/w |
||
a |
r/w |
||
b |
r/w |
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
Details¶
- class Colord.ColorLab¶
- classmethod new()[source]¶
- Returns:
A newly allocated
Colord.ColorLab
object- Return type:
Allocates a color value.
New in version 0.1.32.
- copy(dest)[source]¶
- Parameters:
dest (
Colord.ColorLab
) – the destination color
Deep copies a color value.
New in version 0.1.32.
- delta_e76(p2)[source]¶
- Parameters:
p2 (
Colord.ColorLab
) – Lab value 2- Returns:
distance metric, where JND ΔE ≈ 2.3
- Return type:
Calculates the ΔE of two colors using the 1976 formula.
New in version 0.1.32.