# Transcoder V1 API - Class Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Color (v2.6.0)

2.6.0 (latest) 2.5.0 2.4.1 2.3.0 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.13.0 0.12.2 0.11.0 0.10.0 0.9.1 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.2 Reference documentation and code samples for the Transcoder V1 API class Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Color.

Color preprocessing configuration.


<br />

**Note:** This configuration is not supported.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #brightness

    def brightness() -> ::Float

**Returns**

- (::Float) --- Control brightness of the video. Enter a value between -1 and 1, where -1 is minimum brightness and 1 is maximum brightness. 0 is no change. The default is 0.

### #brightness=

    def brightness=(value) -> ::Float

**Parameter**

- **value** (::Float) --- Control brightness of the video. Enter a value between -1 and 1, where -1 is minimum brightness and 1 is maximum brightness. 0 is no change. The default is 0.
**Returns**

- (::Float) --- Control brightness of the video. Enter a value between -1 and 1, where -1 is minimum brightness and 1 is maximum brightness. 0 is no change. The default is 0.

### #contrast

    def contrast() -> ::Float

**Returns**

- (::Float) --- Control black and white contrast of the video. Enter a value between -1 and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no change. The default is 0.

### #contrast=

    def contrast=(value) -> ::Float

**Parameter**

- **value** (::Float) --- Control black and white contrast of the video. Enter a value between -1 and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no change. The default is 0.
**Returns**

- (::Float) --- Control black and white contrast of the video. Enter a value between -1 and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no change. The default is 0.

### #saturation

    def saturation() -> ::Float

**Returns**

- (::Float) --- Control color saturation of the video. Enter a value between -1 and 1, where -1 is fully desaturated and 1 is maximum saturation. 0 is no change. The default is 0.

### #saturation=

    def saturation=(value) -> ::Float

**Parameter**

- **value** (::Float) --- Control color saturation of the video. Enter a value between -1 and 1, where -1 is fully desaturated and 1 is maximum saturation. 0 is no change. The default is 0.
**Returns**

- (::Float) --- Control color saturation of the video. Enter a value between -1 and 1, where -1 is fully desaturated and 1 is maximum saturation. 0 is no change. The default is 0.