Skip to content

CAM02 SCD

The CAM02 SCD color space is not registered in Color by default

Properties

Name: cam02-scd

White Point: D65 / 2˚

Coordinates:

Name Range*
j [0, 100]
a [-40, 40]
b [-40, 40]

* Space is not bound to the range and is only used as a reference to define percentage inputs/outputs in relation to the Display P3 color space.

CAM02 SCD

Figure 1. The sRGB gamut represented within the CAM02 SCD color space.

This is the SCD variant of the CAM02 UCS color space and is optimized for "small" color distancing. See CAM02 UCS for more info.

Learn more.

Viewing Conditions

CAM02 SCD uses the same environment setup for viewing conditions as CAM02 JMh, so check out the related documentation if creating a CAM02 SCD variant is desired.

Channel Aliases

Channels Aliases
j lightness
a
b

Input/Output

The CAM02 SCD space is not currently supported in the CSS spec, the parsed input and string output formats use the color() function format using the custom name --cam02-scd:

color(--cam02-scd j a b / a)  // Color function

The string representation of the color object and the default string output use the color(--cam02-scd j a b / a) form.

>>> Color("cam02-scd", [60.054, 31.859, 20.029], 1)
color(--cam02-scd 60.054 31.859 20.029 / 1)
>>> Color("cam02-scd", [79.041, 8.4908, 26.699], 1).to_string()
'color(--cam02-scd 79.041 8.4908 26.699)'

Registering

from coloraide import Color as Base
from coloraide.spaces.cam02_ucs import CAM02SCD

class Color(Base): ...

Color.register(CAM02SCD())