---
Product: Aspose.Slides
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/slides/python/ColorEffect
---

# ColorEffect

## Overview

`ColorEffect` is a class in Aspose.Slides FOSS for Python.
Inherits from: `Behavior`, `IColorEffect`.

Represent color effect behavior of effect.

This class provides 11 methods for working with ColorEffect objects in Python programs.
Available methods include: `__init__`, `accumulate`, `additive`, `as_i_behavior`, `by`, `color_space`, `direction`, `from_address`, `properties`, `timing`, `to`.
All public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: `accumulate`, `additive`, `as_i_behavior`, `by`, `color_space`, `direction`, and 4 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `from_address` | `IColorFormat` | Read/Write | Gets or sets the from address. |
| `to` | `IColorFormat` | Read/Write | Gets or sets the to. |
| `by` | `IColorOffset` | Read/Write | Gets or sets the by. |
| `color_space` | `ColorSpace` | Read/Write | Gets or sets the color space. |
| `direction` | `ColorDirection` | Read/Write | Gets or sets the direction. |
| `as_i_behavior` | `IBehavior` | Read | Gets the as i behavior. |
| `accumulate` | `NullableBool` | Read/Write | Gets or sets the accumulate. |
| `additive` | `BehaviorAdditiveType` | Read/Write | Gets or sets the additive. |
| `properties` | `IBehaviorPropertyCollection` | Read | Gets the properties. |
| `timing` | `ITiming` | Read/Write | Gets or sets the timing. |

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__()` |  |
| `accumulate()` → `NullableBool` | Represents whether animation behaviors are accumulated. |
| `additive()` → `BehaviorAdditiveType` | Represents whether the current animation behavior is combined with other running animations. |
| `properties()` → `IBehaviorPropertyCollection` | Represents properties of behavior. |
| `timing()` → `ITiming` | Represents timing properties for the effect behavior. |
| `from_address()` → `IColorFormat` | This value is used to specify the starting color of behavior. |
| `to()` → `IColorFormat` | Describes resulting color for the animation color change. |
| `by()` → `IColorOffset` | Describes the relative offset value for the color animation. |
| `color_space()` → `ColorSpace` | Represent color space of behavior. |
| `direction()` → `ColorDirection` | Specifies which direction to cycle the hue around the color wheel. |
| `as_i_behavior()` → `IBehavior` | Allows to get base IBehavior interface. |

## See Also

- [Aspose.Slides — Enterprise API Reference](https://reference.aspose.com/slides/)