Function

Adw-1Adwaccent_color_to_standalone_rgbaSince 1.6

  • Converts self to a Gdk.RGBA representing its standalone color.

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

    Parameters

    • self: Adw.AccentColor

      an accent color

    • dark: boolean

      Whether to calculate standalone color for light or dark background

    Returns Gdk.RGBA

    1.6