Function

CGColorCreateGenericGrayGamma2_2

Creates a color in the Generic gray color space with a gamma ramp of 2.2.

Declaration

CGColorRef CGColorCreateGenericGrayGamma2_2(CGFloat gray, CGFloat alpha);

Parameters

gray

A grayscale value (0.0 - 1.0).

alpha

An alpha value (0.0 - 1.0).