toShapeColor

Returns this Compose Color as the equivalent ShapeColor.

The conversion goes through the color's packed ARGB form: a color in a non-sRGB working space converts to sRGB, and each channel rounds to the nearest 8-bit value. For sRGB colors built from integer channels the round-trip with toComposeColor is exact.

Receiver

The Compose color to bridge.

Return

The matching packed ShapeColor.