CIMColor.md

May 13, 2026 ยท View on GitHub

CIMCMYKColor

Represents a color in the CMYK color model. A color in the CMYK (cyan, magenta, yellow, black) color model. CMYK is a subtractive color model commonly used in color printing.

CIMColor

PropertyTypeDescription
colorSpaceColorSpaceThe color space of the color. This color space is defined by an ICC color profile (except for spot colors which use a dedicated color space definition). For color types for which color profiles are available (RGB, HSL, HSV and CMYK), the color space should be defined and its URL should match the color profile defined on the container (map, layout, report or style) for the given color type: RGB, HSL or HSV color => RGB color profile. CMYK color => CMYK color profile.
values[double]The values for the color and alpha channels as defined by the color model. Alpha is the last value in the array for all colors.

CIMCMYKColor

PropertyTypeDescription

Enumeration: ColorSpaceType

Specifies color spaces used for colors.

PropertyValueDescription
RGB1The RGB (red, green, blue) color space.
CMYK2The CMYK (cyan, magenta, yellow, black) color space.
Gray3The Grayscale color space.
HSV4The HSV (hue, saturation, value (brightness)) color space.
HLS5The HSL (hue, saturation, lightness) color space.
XYZ7The XYZ color space.
LAB8The LAB color space.
Spot9Spot color space.

CIMFixedColorRamp

Represents a color scheme composed of discrete colors. A color scheme composed of an ordered list of discrete colors.

CIMColorRamp

PropertyTypeDescription
colorSpaceColorSpaceThe color space of the color. This color space is defined by an ICC color profile.

CIMFixedColorRamp

PropertyTypeDescription
colors[CIMColor]The ordered list of colors in the color scheme.
arrangementenumeration FixedColorRampArrangementTypeThe arrangement type.

Enumeration: FixedColorRampArrangementType

Specifies the arrangement type for fixed color ramp.

PropertyValueDescription
Default1A fixed list of colors, typically used for unique value renderer.
Bivariate2A fixed list of colors for bivariate rendering. The count of colors should be equal to the number of breaks for each axis multiplied. For example, a 3x3 bivariate fixed list should have 9 colors in the order of A1, A2, A3, B1, B2, B3, C1, C2, C3 where values 1,2, and 3 correspond to classes in variable 1 and A, B, and C correspond to classes in variable 2.

CIMGrayColor

Represents a grayscale color defined by lightness. A color in a grayscale model, where the value of lightness is defined.

CIMColor

PropertyTypeDescription
colorSpaceColorSpaceThe color space of the color. This color space is defined by an ICC color profile (except for spot colors which use a dedicated color space definition). For color types for which color profiles are available (RGB, HSL, HSV and CMYK), the color space should be defined and its URL should match the color profile defined on the container (map, layout, report or style) for the given color type: RGB, HSL or HSV color => RGB color profile. CMYK color => CMYK color profile.
values[double]The values for the color and alpha channels as defined by the color model. Alpha is the last value in the array for all colors.

CIMGrayColor

PropertyTypeDescription

CIMHSLColor

Represents a color defined by hue, saturation, and lightness. Transforms RGB values by defining the hue, saturation, and lightness of the color. The three values do not represent individual color channels but the HSL coordinates used to define the color in the RGB color model.

CIMColor

PropertyTypeDescription
colorSpaceColorSpaceThe color space of the color. This color space is defined by an ICC color profile (except for spot colors which use a dedicated color space definition). For color types for which color profiles are available (RGB, HSL, HSV and CMYK), the color space should be defined and its URL should match the color profile defined on the container (map, layout, report or style) for the given color type: RGB, HSL or HSV color => RGB color profile. CMYK color => CMYK color profile.
values[double]The values for the color and alpha channels as defined by the color model. Alpha is the last value in the array for all colors.

CIMHSLColor

PropertyTypeDescription

CIMHSVColor

Represents a color defined by hue, saturation, and brightness (value). Transforms RGB values by defining the hue, saturation, and brightness (value) of the color. The three values do not represent individual color channels but the HSV coordinates used to define the color in the RGB color model.

CIMColor

PropertyTypeDescription
colorSpaceColorSpaceThe color space of the color. This color space is defined by an ICC color profile (except for spot colors which use a dedicated color space definition). For color types for which color profiles are available (RGB, HSL, HSV and CMYK), the color space should be defined and its URL should match the color profile defined on the container (map, layout, report or style) for the given color type: RGB, HSL or HSV color => RGB color profile. CMYK color => CMYK color profile.
values[double]The values for the color and alpha channels as defined by the color model. Alpha is the last value in the array for all colors.

CIMHSVColor

PropertyTypeDescription

CIMICCColorSpace

Represents a color space defined by an International Color Consortium (ICC) color profile. A color space defined by an International Color Consortium (ICC) color profile.

CIMColorSpace

PropertyTypeDescription

CIMICCColorSpace

PropertyTypeDescription
URLstringThe URL of short name of the color space definition. As a shortcut, the following strings can be set instead of full URLs: "Default RGB", "Default CMYK", "CIELAB", "CIEXYZ", and "Default Gray".

CIMLABColor

Represents a color defined in the LAB color space. Defines colors in the CIELAB color space, which is a color-opponent space with dimension L for lightness and a and b for the color-opponent dimensions.

CIMColor

PropertyTypeDescription
colorSpaceColorSpaceThe color space of the color. This color space is defined by an ICC color profile (except for spot colors which use a dedicated color space definition). For color types for which color profiles are available (RGB, HSL, HSV and CMYK), the color space should be defined and its URL should match the color profile defined on the container (map, layout, report or style) for the given color type: RGB, HSL or HSV color => RGB color profile. CMYK color => CMYK color profile.
values[double]The values for the color and alpha channels as defined by the color model. Alpha is the last value in the array for all colors.

CIMLABColor

PropertyTypeDescription

CIMLinearContinuousColorRamp

Represents a linear continuous color ramp scheme. A color ramp color scheme that has a linear transition between two colors. This ramp is created using the CIELAB algorithm which blends two colors without traversing the intervening hue space.

CIMColorRamp

PropertyTypeDescription
colorSpaceColorSpaceThe color space of the color. This color space is defined by an ICC color profile.

CIMContinuousColorRamp

PropertyTypeDescription
fromColorColorThe beginning color for the color ramp (also known as a color scheme).
toColorColorThe ending color for the color ramp (also known as a color scheme). This is the color that the scheme transitions to.
primitiveNamestringThe primitive name.

CIMLinearContinuousColorRamp

PropertyTypeDescription

CIMMultipartColorRamp

Represents a multipart color ramp scheme. A color ramp scheme defined by combining two or more continuous, discrete, or random ramps.

CIMColorRamp

PropertyTypeDescription
colorSpaceColorSpaceThe color space of the color. This color space is defined by an ICC color profile.

CIMMultipartColorRamp

PropertyTypeDescription
colorRamps[CIMColorRamp]The ordered list of color ramps (also known as schemes) that are combined to build the multipart ramp. Typically these are continuous color ramps.
weights[double]The proportional weight for each color ramp (also known as a color scheme) that make up the multipart ramp. This allows for ramp to ramp transition at specific weight points.

CIMPolarContinuousColorRamp

Represents a polar continuous color ramp scheme. A color ramp scheme that has a polar transition between two colors. This scheme uses the HSV algorithm which uses a path around the color wheel to transition the hue, saturation, and value of the beginning color to the hue, saturation, and value of the ending color.

CIMColorRamp

PropertyTypeDescription
colorSpaceColorSpaceThe color space of the color. This color space is defined by an ICC color profile.

CIMContinuousColorRamp

PropertyTypeDescription
fromColorColorThe beginning color for the color ramp (also known as a color scheme).
toColorColorThe ending color for the color ramp (also known as a color scheme). This is the color that the scheme transitions to.
primitiveNamestringThe primitive name.

CIMPolarContinuousColorRamp

PropertyTypeDescription
interpolationSpaceenumeration ColorSpaceTypeThe color space in which the polar interpolation occurs. HSV, HLS, and LAB are the only supported color space types.
polarDirectionenumeration PolarDirectionThe direction of the polar progression for the path from the beginning hue to the ending hue.

Enumeration: PolarDirection

Specifies the direction of the polar progression for the path from the beginning hue to the ending hue.

PropertyValueDescription
Auto0The shortest path, clockwise or counter clockwise.
Clockwise1The spectral order from red through orange, yellow, green, and blue to violet.
Counterclockwise2The reverse spectral order from violet, through blue, green, yellow, and orange to red.

CIMRGBColor

Represents a color in the RGB color model. A color in the RGB (red, green, blue) color model. RGB is an additive, or light-emissive model based on red, green, and blue values.

CIMColor

PropertyTypeDescription
colorSpaceColorSpaceThe color space of the color. This color space is defined by an ICC color profile (except for spot colors which use a dedicated color space definition). For color types for which color profiles are available (RGB, HSL, HSV and CMYK), the color space should be defined and its URL should match the color profile defined on the container (map, layout, report or style) for the given color type: RGB, HSL or HSV color => RGB color profile. CMYK color => CMYK color profile.
values[double]The values for the color and alpha channels as defined by the color model. Alpha is the last value in the array for all colors.

CIMRGBColor

PropertyTypeDescription

CIMRandomHSVColorRamp

Represents a random HSV color ramp scheme. A color ramp scheme where the colors are randomly selected within the set range of hue, saturation, and value values.

CIMColorRamp

PropertyTypeDescription
colorSpaceColorSpaceThe color space of the color. This color space is defined by an ICC color profile.

CIMRandomHSVColorRamp

PropertyTypeDescription
minHfloatThe hue from which the color ramp (also known as a color scheme) will start. Values can range from 0-360.
maxHfloatThe hue at which the color ramp (also known as a color scheme) will end. Values can range from 0-360.
minSfloatThe minimum saturation possible for the colors within the color ramp (also known as a color scheme). Values can range between 0-100.
maxSfloatThe maximum saturation possible for the colors within the color ramp (also known as a color scheme). Values can range between 0-100.
minVfloatThe minimum value possible for the colors within the ramp (also known as a scheme). Values can range between 0-100.
maxVfloatThe maximum value possible for the colors within the color ramp (also known as a color scheme). Values can range between 0-100.
minAlphafloatThe minimum alpha or transparency for all of the colors. Can be a value between 0-100, where 0 is fully transparent.
maxAlphafloatThe maximum alpha or transparency for all of the colors. Can be a value between 0-100, where 0 is fully transparent.
seedlongThe starting point for the random generation of the colors.

CIMSpotColor

Represents a spot color. A color defined by a specific ink standard and typically used in offset printing where the color corresponds to a pure or premixed ink. When a spot color is displayed on the screen the alternative color is used.

CIMColor

PropertyTypeDescription
colorSpaceColorSpaceThe color space of the color. This color space is defined by an ICC color profile (except for spot colors which use a dedicated color space definition). For color types for which color profiles are available (RGB, HSL, HSV and CMYK), the color space should be defined and its URL should match the color profile defined on the container (map, layout, report or style) for the given color type: RGB, HSL or HSV color => RGB color profile. CMYK color => CMYK color profile.
values[double]The values for the color and alpha channels as defined by the color model. Alpha is the last value in the array for all colors.

CIMSpotColor

PropertyTypeDescription
namestringThe spot color name.

CIMSpotColorSpace

Represents a color space for spot colors. A color space defined for spot colors including alternate and book colors.

CIMColorSpace

PropertyTypeDescription

CIMSpotColorSpace

PropertyTypeDescription
descriptionstringA description of the ink. This can provide more information than the name.
namestringThe defined ink name for the spot color. Usually this is a well-known color standard name.
alternativeColorColorThe standard (non-spot) color that is used to display the color on-screen.
bookColorColorThe if present, the color used during output.
bookIDstringThe ID of the book the color name belongs to.
isReferencedColorbooleanA value indicating whether or not the color is a referenced color. When this property is true, the alternative color will be looked up from the color book based on the BookID and Name.

CIMXYZColor

Represents a color in the XYZ color model. A color in the XYZ color space which is based on direct measurements of the human eye.

CIMColor

PropertyTypeDescription
colorSpaceColorSpaceThe color space of the color. This color space is defined by an ICC color profile (except for spot colors which use a dedicated color space definition). For color types for which color profiles are available (RGB, HSL, HSV and CMYK), the color space should be defined and its URL should match the color profile defined on the container (map, layout, report or style) for the given color type: RGB, HSL or HSV color => RGB color profile. CMYK color => CMYK color profile.
values[double]The values for the color and alpha channels as defined by the color model. Alpha is the last value in the array for all colors.

CIMXYZColor

PropertyTypeDescription