Skip to content

JzCzhz

The JzCzhz color space is registered in Color by default

Properties

Name: jzczhz

White Point: D65 / 2˚

Coordinates:

Name Range
jz [0, 1]
cz [0, 0.5]
hz [0, 360)

* Space is not bound to the defined range above but represents a practical range for HDR color spaces. CSS uses a range of jz = [0, 1] and cz = [0, 1] for percentage input and output.

JzCzhz

The sRGB gamut represented within the JzCzhz color space.

JzCzhz is the cylindrical form of Jzazbz.

Learn about JzCzhz

Channel Aliases

Channels Aliases
jz lightness, j
cz chroma, c
hz hue, h

Input/Output

Parsed input and string output formats support all valid CSS forms:

color(jzczhz jz cz hz / 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("jzczhz", [0, 0, 0], 1)

The string representation of the color object and the default string output use the color(jzczhz jz cz hz / a) form.

>>> Color("jzczhz", [0.13438, 0.16252, 43.502])
color(jzczhz 0.13438 0.16252 43.502 / 1)
>>> Color("jzczhz", [0.16937, 0.12698, 75.776]).to_string()
'color(jzczhz 0.16937 0.12698 75.776)'

Registering

from coloraide import Color as Base
from coloraide.spaces.jzczhz import JzCzhz

class Color(Base): ...

Color.register(JzCzhz())