Skip to content

Get Dominant Color Activity

The Get Dominant Color activity identifies the most prevalent color within a specified image file. This enables users to categorize images based on their dominant color, facilitating organization and analysis.

Field Description Requirement
Image file name Specifies the full path and name of the image file to analyze. Required
Result variable name Defines the name of the variable where the identified dominant color will be stored. Required

Action Types & Examples

Get Dominant Color Result

  • Format: string
  • Example Result: "Blue"

Implementation Examples

Field Setup - Image file name: C:\Temp\myImage.jpg - Result variable name: dominantColorResult

Execution Parameters - Image file name: C:\Temp\myImage.jpg - Result variable name: dominantColorResult

Technical Notes

The Get Dominant Color activity supports common image formats such as JPEG and PNG. Processing time may vary depending on the resolution and file size of the input image.