ComfyUI > Nodes > ComfyUI-RndNanthu > πŸŽ₯ Color Space Simulator

ComfyUI Node: πŸŽ₯ Color Space Simulator

Class Name

ColorSpaceSim

Category
rndnanthu/🎨Color Tools
Author
RndNanthu (Account age: 2352days)
Extension
ComfyUI-RndNanthu
Latest Updated
2025-12-02
Github Stars
0.03K

How to Install ComfyUI-RndNanthu

Install this extension via the ComfyUI Manager by searching for ComfyUI-RndNanthu
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-RndNanthu 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

πŸŽ₯ Color Space Simulator Description

Simulate color space transformations, adjust profiles, gamma, contrast for enhanced image manipulation.

πŸŽ₯ Color Space Simulator:

The ColorSpaceSim node is designed to simulate various color space transformations and adjustments, providing a powerful tool for AI artists to manipulate and enhance images. This node allows you to apply different color profiles, simulate camera encoding, and adjust gamma and contrast, among other features. By leveraging these capabilities, you can achieve a wide range of visual effects and ensure that your images are accurately represented across different display devices. The node's primary goal is to offer a flexible and comprehensive solution for color space simulation, making it an essential component for anyone looking to refine their digital artwork with precision and creativity.

πŸŽ₯ Color Space Simulator Input Parameters:

image

The image parameter expects a tensor representing the image you wish to process. It should have a shape of (1, H, W, 3), where H and W are the height and width of the image, and 3 represents the RGB color channels. This parameter is crucial as it serves as the input for all subsequent color transformations and adjustments.

target_profile

The target_profile parameter allows you to select the desired color profile for the simulation. Options include "Sony S-Log3", "Arri LogC", and "Canon C-Log". This choice determines the specific color transformation curve applied to the image, affecting its tonal range and color representation.

simulate_camera_encode

The simulate_camera_encode parameter is a boolean that, when enabled, simulates the encoding process of a camera. This is particularly useful when the target profile is not "Rec.709", as it converts the image from sRGB to a linear color space, preparing it for further transformations.

enable_gamma

The enable_gamma parameter is a boolean that, when activated, applies gamma correction to the image. This adjustment can enhance the image's brightness and contrast, making it appear more natural to the human eye.

gamma_value

The gamma_value parameter specifies the gamma correction value to be applied if enable_gamma is true. A typical default value is 2.2, but it can be adjusted to achieve the desired visual effect.

enable_lut

The enable_lut parameter is a boolean that, when enabled, applies a Look-Up Table (LUT) to the image. This can dramatically alter the image's color grading, providing a quick way to achieve specific aesthetic looks.

lut_name

The lut_name parameter specifies the name of the LUT to be applied if enable_lut is true. The LUT must be preloaded and available in the node's LUT map for successful application.

profile_strength

The profile_strength parameter controls the intensity of the applied color profile transformation. It ranges from 0 to 1, where 0 means no transformation and 1 means full application of the selected profile.

enable_tone_map

The enable_tone_map parameter is a boolean that, when enabled, applies a simple tone mapping function to the image. This can help in compressing the dynamic range, making the image more visually appealing.

contrast_boost

The contrast_boost parameter allows you to increase or decrease the image's contrast. A value of 1.0 means no change, while values greater than 1.0 increase contrast, and values less than 1.0 decrease it.

πŸŽ₯ Color Space Simulator Output Parameters:

final

The final output parameter is a tensor representing the processed image after all selected transformations and adjustments have been applied. It retains the original shape of (1, H, W, 3) and provides a visually enhanced version of the input image, ready for further use or display.

πŸŽ₯ Color Space Simulator Usage Tips:

  • To achieve a cinematic look, try using the "Sony S-Log3" profile with a slight contrast boost and enable LUT with a filmic LUT.
  • For a natural look, enable gamma correction with a value of 2.2 and use the "Rec.709" profile.

πŸŽ₯ Color Space Simulator Common Errors and Solutions:

Expected image shape (1, H, W, 3)

  • Explanation: This error occurs when the input image does not have the required shape of (1, H, W, 3).
  • Solution: Ensure that your input image is correctly formatted as a tensor with the specified shape before passing it to the node.

Missing LUT_3D_SIZE in cube file

  • Explanation: This error indicates that the LUT file is missing the required LUT_3D_SIZE specification.
  • Solution: Verify that your LUT file is correctly formatted and includes the LUT_3D_SIZE line. If not, use a different LUT file that meets the requirements.

πŸŽ₯ Color Space Simulator Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-RndNanthu
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.