:right-sidebar: True AccentColor =================================================================== .. currentmodule:: gi.repository.Adw .. versionadded:: 1.6 .. class:: AccentColor :no-contents-entry: Describes the available system accent colors. Methods ------- .. rst-class:: interim-class .. class:: AccentColor :no-index: .. method:: to_rgba() -> ~gi.repository.Gdk.RGBA Converts ``self`` to a ``GdkRGBA`` representing its background color. The matching foreground color is white. .. versionadded:: 1.6 .. method:: to_standalone_rgba(dark: bool) -> ~gi.repository.Gdk.RGBA Converts ``self`` to a ``GdkRGBA`` representing its standalone color. It will typically be darker for light background, and lighter for dark background, ensuring contrast. .. versionadded:: 1.6 :param dark: Whether to calculate standalone color for light or dark background Fields ------ .. rst-class:: interim-class .. class:: AccentColor :no-index: .. attribute:: BLUE The type of the None singleton. .. attribute:: GREEN The type of the None singleton. .. attribute:: ORANGE The type of the None singleton. .. attribute:: PINK The type of the None singleton. .. attribute:: PURPLE The type of the None singleton. .. attribute:: RED The type of the None singleton. .. attribute:: SLATE The type of the None singleton. .. attribute:: TEAL The type of the None singleton. .. attribute:: YELLOW The type of the None singleton.