getRGB

fun getRGB(target: Color, colorSpace: ColorSpace = ColorManagement.workingColorSpace): Color

Returns the RGB values of this color and stores them into target.

Return

The target color.

Parameters

target

The color that stores the method's result.

colorSpace

The color space (defaults to ColorManagement.workingColorSpace).