Skip to content

ACEScct

The ACEScc color space is not registered in Color by default

Properties

Name: acescct

White Point: D60 / 2˚

Coordinates:

Name Range*
r [-0.3584, 1.468]
g [-0.3584, 1.468]
b [-0.3584, 1.468]

* Ranges are approximate and rounded to 3 decimal places.

ACEScct is very similar to ACEScc except that it adds a "toe" or a gamma curve in the dark region of the color space. This encoding is more appropriate for legacy color correction operators.

Learn about ACEScct

Channel Aliases

Channels Aliases
r red
g green
b blue

Inputs/Output

ACEScct is not supported via the CSS spec and the parser input and string output only supports the color() function format using the custom name --acescct:

color(--acescct r g b / a)  // Color function

When manually creating a color via raw data or specifying a color space as a parameter in a function, the color space name is always used:

Color("acescct", [1, 0, 0], 1)

The string representation of the color object and the default string output will be in the color(--acescct r g b / a) form.

>>> Color("acescct", [0.51451, 0.33604, 0.23515])
color(--acescct 0.51451 0.33604 0.23515 / 1)
>>> Color("acescct", [0.53009, 0.48237, 0.32561]).to_string()
'color(--acescct 0.53009 0.48237 0.32561)'

Registering

from coloraide import Color as Base
from coloraide.spaces.acescct import ACEScct

class Color(Base): ...

Color.register(ACEScct())