class RGBPixel

Last modified: November 20, 2009

Contents

RGBPixel

In module gamera.core

__init__(red, green, blue).

Example: RGBPixel(255, 0, 0).

Each color value is in the range 0-255 (8 bits).

For more information about color operations, see the Color plugin docs.

red

(int property)

The current red value [0,255]

green

(int property)

The current green value [0, 255]

blue

(int property)

The current blue value [0, 255]

hue

(float property)

The hue [0, 1.0]

saturation

(float property)

The saturation [0, 1.0]

value

(float property)

The value [0, 1.0]

cie_x

(float property)

The cie_x value [0, 1.0]

cie_y

(float property)

The cie_y value [0, 1.0]

cie_z

(float property)

The cie_z value [0, 1.0]

cyan

(int property)

The cyan value [0, 255]

magenta

(int property)

The magenta value [0, 255]

yellow

(int property)

The yellow value [0, 255]