toStandaloneRgba

fun toStandaloneRgba(self: AccentColor, dark: Boolean, rgba: <Error class: unknown class>)

Converts @self to a GdkRGBA representing its standalone color.

It will typically be darker for light background, and lighter for dark background, ensuring contrast.

Since

1.6

Parameters

self

an accent color

dark

Whether to calculate standalone color for light or dark background

rgba

return location for the color