# GmagickPixel::getcolorcount

(PECL gmagick >= Unknown)

GmagickPixel::getcolorcount — Returns the color count associated with this color

### 说明

public GmagickPixel::getcolorcount(): int

Returns the color count associated with this color.

### 参数

此函数没有参数。

### 返回值

Returns the color count as an integer on success, throws GmagickPixelException on failure.

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open