A98 RGB
The A98 RGB color space is registered in Color
by default
Properties
Name: a98-rgb
White Point: D65 / 2˚
Coordinates:
Name | Range* |
---|---|
r | [0, 1] |
g | [0, 1] |
b | [0, 1] |
* Range denotes in gamut colors, but the color space supports an extended range beyond the gamut.
The Adobe® RGB (1998) color space or opRGB is a color space developed by Adobe Systems®, Inc. in 1998. It was designed to encompass most of the colors achievable on CMYK color printers, but by using RGB primary colors on a device such as a computer display. The Adobe® RGB (1998) color space encompasses roughly 50% of the visible colors specified by the CIELab color space - improving upon the gamut of the sRGB color space, primarily in cyan-green hues.
A98 RGB is an Adobe® 98 Compatible color space.
Channel Aliases
Channels | Aliases |
---|---|
r | red |
g | green |
b | blue |
Input/Output
Parsed input and string output formats support all valid CSS forms:
color(a98-rgb 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("a98-rgb", [0, 0, 0], 1)
The string representation of the color object and the default string output will be in the color(a98-rgb r g b / a)
form.
>>> Color('a98-rgb', [0.85859, 0, 0])
color(a98-rgb 0.85859 0 0 / 1)
>>> Color('a98-rgb', [0.91489, 0.64117, 0.15031]).to_string()
'color(a98-rgb 0.91489 0.64117 0.15031)'
Registering
from coloraide import Color as Base
from coloraide.spaces.a98_rgb import A98RGB
class Color(Base): ...
Color.register(A98RGB())