Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-OCIO > OCIO ColorSpace

ComfyUI Node: OCIO ColorSpace

Class Name

OCIOColorSpace

Category
OCIO
Author
SlavaSexton (Account age: 3315days)
Extension
ComfyUI-OCIO
Latest Updated
2026-07-19
Github Stars
0.07K

How to Install ComfyUI-OCIO

Install this extension via the ComfyUI Manager by searching for ComfyUI-OCIO
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-OCIO in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

OCIO ColorSpace Description

Facilitates color space conversion using OCIO for precise and consistent transformations in visual content workflows.

OCIO ColorSpace:

The OCIOColorSpace node is designed to facilitate the conversion between different color spaces using OpenColorIO (OCIO), a color management solution widely used in the film and visual effects industry. This node is particularly beneficial for artists and designers working with images and videos that require precise color transformations. By leveraging OCIO, the node ensures that color conversions are accurate and consistent, maintaining the integrity of the visual content across various devices and platforms. The node's primary function is to convert an image or video from one specified color space to another, allowing for seamless integration into workflows that demand high fidelity in color representation. This capability is crucial for tasks such as compositing, color grading, and ensuring that the final output matches the intended artistic vision. The node also includes a convenient "swap in/out" feature, which allows users to quickly reverse the input and output color spaces, streamlining the workflow and enhancing flexibility.

OCIO ColorSpace Input Parameters:

in_colorspace

The in_colorspace parameter specifies the color space of the input image or video. It is crucial for defining the source color space from which the conversion will begin. This parameter ensures that the node accurately interprets the colors of the input media, which is essential for achieving the desired output. The default value is set to "ACES2065-1", a widely used color space in professional workflows. Users can select from a list of available color spaces provided by the active OCIO configuration.

out_colorspace

The out_colorspace parameter defines the target color space to which the input image or video will be converted. This parameter is vital for determining the final color representation of the media after the conversion process. The default value is "ACEScg", another common color space in professional environments. Like the in_colorspace, users can choose from a list of color spaces available in the current OCIO configuration.

mix

The mix parameter controls the blending ratio between the original and converted images. It accepts a floating-point value between 0.0 and 1.0, where 0.0 means no conversion (original image) and 1.0 means full conversion to the target color space. This parameter allows for creative flexibility, enabling users to achieve a desired balance between the original and transformed colors. The default value is 1.0, indicating a complete conversion.

image

The image parameter is an optional input that accepts an image to be processed. If provided, the node will apply the color space conversion to this image. This parameter is useful for users who want to convert static images rather than video sequences.

video

The video parameter is an optional input that accepts a video sequence for processing. When a video is provided, the node will apply the color space conversion to each frame of the video. This parameter is ideal for users working with dynamic content that requires consistent color management across frames.

config_path

The config_path parameter is an optional input that allows users to specify a custom OCIO configuration file. This parameter provides flexibility for users who need to work with specific color management settings that differ from the built-in configuration. By default, the node uses the built-in OCIO configuration.

OCIO ColorSpace Output Parameters:

image/sequence/video

This output parameter provides the converted image or video sequence. It represents the media after it has been transformed from the input color space to the output color space. This output is crucial for ensuring that the visual content is accurately represented in the desired color space, maintaining consistency and fidelity across different viewing environments.

ComfyUI Video

The ComfyUI Video output is similar to the image/sequence/video output but is specifically tailored for video content. It ensures that the color space conversion is applied consistently across all frames of the video, making it suitable for workflows that involve video editing and compositing.

OCIO ColorSpace Usage Tips:

  • Ensure that the in_colorspace and out_colorspace parameters are correctly set to match the source and target color spaces of your workflow. This will help maintain color accuracy and consistency.
  • Utilize the mix parameter to creatively blend the original and converted images, allowing for artistic control over the final output.
  • If working with custom color management settings, use the config_path parameter to specify your OCIO configuration file, ensuring that the node operates within your desired color management framework.

OCIO ColorSpace Common Errors and Solutions:

No OCIO config found.

  • Explanation: This error occurs when the node cannot locate a valid OCIO configuration file.
  • Solution: Ensure that the config_path parameter is correctly set to a valid OCIO configuration file. If using the built-in configuration, verify that it is properly installed and accessible.

Invalid color space specified.

  • Explanation: This error indicates that the specified in_colorspace or out_colorspace is not recognized by the current OCIO configuration.
  • Solution: Double-check the color space names and ensure they are available in the active OCIO configuration. Use the dropdown list provided by the node to select valid color spaces.

Conversion failed due to incompatible color spaces.

  • Explanation: This error suggests that the conversion between the specified input and output color spaces is not supported.
  • Solution: Verify that the chosen color spaces are compatible for conversion. Consult the OCIO documentation or configuration file for supported transformations.

OCIO ColorSpace Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-OCIO
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

OCIO ColorSpace