asRgba

@Stable
fun Color.asRgba(): CSSColorValue

Converts the Color to a CSSColorValue in the rgba() format.

Return

A CSSColorValue representing the color in the rgba() format, including the alpha channel.

See also