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

# ColorFormat

## Overview

`ColorFormat` is a class in Aspose.Slides FOSS for Python.
Inherits from: `PVIObject`, `ISlideComponent`, `IPresentationComponent`.

Represents a color used in a presentation.

Properties: `as_i_presentation_component`, `b`, `color`, `color_type`, `float_b`, `float_g`, and 7 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `color_type` | `ColorType` | Read/Write | Returns or sets the color definition method. |
| `color` | `Color` | Read/Write | Returns resulting color. |
| `preset_color` | `PresetColor` | Read/Write | Returns or sets the color preset. |
| `scheme_color` | `SchemeColor` | Read/Write | Returns or sets the color identified by a color scheme. |
| `r` | `int` | Read/Write | Returns or sets the red component of a color. |
| `g` | `int` | Read/Write | Returns or sets the green component of a color. |
| `b` | `int` | Read/Write | Returns or sets the blue component of a color. |
| `float_r` | `float` | Read/Write | Returns or sets the red component of a color. |
| `float_g` | `float` | Read/Write | Returns or sets the green component of a color. |
| `float_b` | `float` | Read/Write | Returns or sets the blue component of a color. |
| `as_i_presentation_component` | `IPresentationComponent` | Read | Allows to get base IPresentationComponent interface. |
| `slide` | `IBaseSlide` | Read | Gets the slide. |
| `presentation` | `IPresentation` | Read | Gets the presentation. |

## See Also

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