Skip to content

sUCS

The sUCS color space is not registered in Color by default

Properties

Name: sucs

White Point: D65 / 2˚

Coordinates:

Name Range*
jz [0, 100]
mz [0, 65]
hz [0, 360)

* 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.

sUCS

Figure 1. The sRGB gamut represented within the sUCS color space.

The sUCS (simple Uniform Color Space) is a new uniform color space developed as the base on which sCAM (simple Color Appearance Model) was built upon. The structure of sUCS is based on the structure of IPT and CAM16-UCS for their hue linearity, and space uniformity, respectively.

Learn more.

Channel Aliases

Channels Aliases
i intensity
c chroma
h hue

Input/Output

The sUCS 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 --sucs:

color(--sucs i c h / a)  // Color function

The string representation of the color object and the default string output use the color(--sucs i c h / a) form.

>>> Color("sucs", [54.706, 55.669, 29.937], 1)
color(--sucs 54.706 55.669 29.937deg / 1)
>>> Color("sucs", [74.256, 44.701, 67.919], 1).to_string()
'color(--sucs 74.256 44.701 67.919)'

Registering

from coloraide import Color as Base
from coloraide.spaces.sucs import sUCS

class Color(Base): ...

Color.register(sUCS())