color
class color
| kotlin.Any | |
| ↳ | android.R.color |
Summary
| Constants | |
|---|---|
| static Int |
Equivalent to 0xff000000 Equivalent to 0xff000000 |
| static Int |
Equivalent to 0xffffffff Equivalent to 0xffffffff |
| static Int |
The color black, equivalent to 0xff000000 |
| static Int |
Equivalent to 0xffaaaaaa A dark gray, equivalent to 0xffaaaaaa |
| static Int |
A really bright Holo shade of blue. |
| static Int |
A dark Holo shade of blue. |
| static Int |
A light Holo shade of blue. |
| static Int |
A dark Holo shade of green. |
| static Int |
A light Holo shade of green. |
| static Int |
A dark Holo shade of orange. |
| static Int |
A light Holo shade of orange. |
| static Int |
A Holo shade of purple. |
| static Int |
A dark Holo shade of red. |
| static Int |
A light Holo shade of red. |
| static Int |
{@deprecated Use a text color from your theme instead. |
| static Int |
{@deprecated Use a text color from your theme instead. |
| static Int |
{@deprecated Use a text color from your theme instead. |
| static Int |
{@deprecated Use a text color from your theme instead. |
| static Int |
{@deprecated Use a text color from your theme instead. |
| static Int |
{@deprecated Use a text color from your theme instead. |
| static Int |
{@deprecated Use a text color from your theme instead. |
| static Int |
{@deprecated Use a text color from your theme instead. |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int |
Equivalent to 0xff808080 |
| static Int |
{@deprecated Use a text color from your theme instead. |
| static Int |
{@deprecated Use a text color from your theme instead. |
| static Int |
Fully transparent, equivalent to 0x00000000 |
| static Int |
The color white, equivalent to 0xffffffff |
| static Int |
Equivalent to 0xff000000 |
| Public constructors | |
|---|---|
color() |
|
Constants
background_dark
static val background_dark: Int
Equivalent to 0xff000000 Equivalent to 0xff000000
Value: 17170446background_light
static val background_light: Int
Equivalent to 0xffffffff Equivalent to 0xffffffff
Value: 17170447black
static val black: Int
The color black, equivalent to 0xff000000
Value: 17170444darker_gray
static val darker_gray: Int
Equivalent to 0xffaaaaaa A dark gray, equivalent to 0xffaaaaaa
Value: 17170432holo_blue_bright
static val holo_blue_bright: Int
A really bright Holo shade of blue. Equivalent to #ff00ddff.
Value: 17170459holo_blue_dark
static val holo_blue_dark: Int
A dark Holo shade of blue. Equivalent to #ff0099cc
Value: 17170451holo_blue_light
static val holo_blue_light: Int
A light Holo shade of blue. Equivalent to #ff33b5e5.
Value: 17170450holo_green_dark
static val holo_green_dark: Int
A dark Holo shade of green. Equivalent to #ff669900
Value: 17170453holo_green_light
static val holo_green_light: Int
A light Holo shade of green. Equivalent to #ff99cc00.
Value: 17170452holo_orange_dark
static val holo_orange_dark: Int
A dark Holo shade of orange. Equivalent to ffff8800.
Value: 17170457holo_orange_light
static val holo_orange_light: Int
A light Holo shade of orange. Equivalent to #ffffbb33.
Value: 17170456holo_purple
static val holo_purple: Int
A Holo shade of purple. Equivalent to #ffaa66cc
Value: 17170458holo_red_dark
static val holo_red_dark: Int
A dark Holo shade of red. Equivalent to #ffcc0000
Value: 17170455holo_red_light
static val holo_red_light: Int
A light Holo shade of red. Equivalent to #ffff4444. <
Value: 17170454primary_text_dark
static valprimary_text_dark: Int
Deprecated: Deprecated in Java.
{@deprecated Use a text color from your theme instead.}
Value: 17170433primary_text_dark_nodisable
static valprimary_text_dark_nodisable: Int
Deprecated: Deprecated in Java.
{@deprecated Use a text color from your theme instead.}
Value: 17170434primary_text_light
static valprimary_text_light: Int
Deprecated: Deprecated in Java.
{@deprecated Use a text color from your theme instead.}
Value: 17170435primary_text_light_nodisable
static valprimary_text_light_nodisable: Int
Deprecated: Deprecated in Java.
{@deprecated Use a text color from your theme instead.}
Value: 17170436secondary_text_dark
static valsecondary_text_dark: Int
Deprecated: Deprecated in Java.
{@deprecated Use a text color from your theme instead.}
Value: 17170437secondary_text_dark_nodisable
static valsecondary_text_dark_nodisable: Int
Deprecated: Deprecated in Java.
{@deprecated Use a text color from your theme instead.}
Value: 17170438secondary_text_light
static valsecondary_text_light: Int
Deprecated: Deprecated in Java.
{@deprecated Use a text color from your theme instead.}
Value: 17170439secondary_text_light_nodisable
static valsecondary_text_light_nodisable: Int
Deprecated: Deprecated in Java.
{@deprecated Use a text color from your theme instead.}
Value: 17170440system_background_light
static val system_background_light: Int
Value: 17170538system_control_activated_dark
static val system_control_activated_dark: Int
Value: 17170599system_control_activated_light
static val system_control_activated_light: Int
Value: 17170556system_control_highlight_dark
static val system_control_highlight_dark: Int
Value: 17170601system_control_highlight_light
static val system_control_highlight_light: Int
Value: 17170558system_control_normal_dark
static val system_control_normal_dark: Int
Value: 17170600system_control_normal_light
static val system_control_normal_light: Int
Value: 17170557system_error_container_dark
static val system_error_container_dark: Int
Value: 17170597system_error_container_light
static val system_error_container_light: Int
Value: 17170554system_on_background_dark
static val system_on_background_dark: Int
Value: 17170582system_on_background_light
static val system_on_background_light: Int
Value: 17170539system_on_error_container_dark
static val system_on_error_container_dark: Int
Value: 17170598system_on_error_container_light
static val system_on_error_container_light: Int
Value: 17170555system_on_primary_container_dark
static val system_on_primary_container_dark: Int
Value: 17170570system_on_primary_container_light
static val system_on_primary_container_light: Int
Value: 17170527system_on_primary_fixed
static val system_on_primary_fixed: Int
Value: 17170614system_on_primary_fixed_variant
static val system_on_primary_fixed_variant: Int
Value: 17170615system_on_primary_light
static val system_on_primary_light: Int
Value: 17170529system_on_secondary_container_dark
static val system_on_secondary_container_dark: Int
Value: 17170574system_on_secondary_container_light
static val system_on_secondary_container_light: Int
Value: 17170531system_on_secondary_dark
static val system_on_secondary_dark: Int
Value: 17170576system_on_secondary_fixed
static val system_on_secondary_fixed: Int
Value: 17170618system_on_secondary_fixed_variant
static val system_on_secondary_fixed_variant: Int
Value: 17170619system_on_secondary_light
static val system_on_secondary_light: Int
Value: 17170533system_on_surface_disabled
static val system_on_surface_disabled: Int
Value: 17170627system_on_surface_light
static val system_on_surface_light: Int
Value: 17170541system_on_surface_variant_dark
static val system_on_surface_variant_dark: Int
Value: 17170593system_on_surface_variant_light
static val system_on_surface_variant_light: Int
Value: 17170550system_on_tertiary_container_dark
static val system_on_tertiary_container_dark: Int
Value: 17170578system_on_tertiary_container_light
static val system_on_tertiary_container_light: Int
Value: 17170535system_on_tertiary_dark
static val system_on_tertiary_dark: Int
Value: 17170580system_on_tertiary_fixed
static val system_on_tertiary_fixed: Int
Value: 17170622system_on_tertiary_fixed_variant
static val system_on_tertiary_fixed_variant: Int
Value: 17170623system_on_tertiary_light
static val system_on_tertiary_light: Int
Value: 17170537system_outline_disabled
static val system_outline_disabled: Int
Value: 17170628system_outline_variant_dark
static val system_outline_variant_dark: Int
Value: 17170625system_outline_variant_light
static val system_outline_variant_light: Int
Value: 17170624system_palette_key_color_neutral_dark
static val system_palette_key_color_neutral_dark: Int
Value: 17170610system_palette_key_color_neutral_light
static val system_palette_key_color_neutral_light: Int
Value: 17170567system_palette_key_color_neutral_variant_dark
static val system_palette_key_color_neutral_variant_dark: Int
Value: 17170611system_palette_key_color_neutral_variant_light
static val system_palette_key_color_neutral_variant_light: Int
Value: 17170568system_palette_key_color_primary_dark
static val system_palette_key_color_primary_dark: Int
Value: 17170607system_palette_key_color_primary_light
static val system_palette_key_color_primary_light: Int
Value: 17170564system_palette_key_color_secondary_dark
static val system_palette_key_color_secondary_dark: Int
Value: 17170608system_palette_key_color_secondary_light
static val system_palette_key_color_secondary_light: Int
Value: 17170565system_palette_key_color_tertiary_dark
static val system_palette_key_color_tertiary_dark: Int
Value: 17170609system_palette_key_color_tertiary_light
static val system_palette_key_color_tertiary_light: Int
Value: 17170566system_primary_container_dark
static val system_primary_container_dark: Int
Value: 17170569system_primary_container_light
static val system_primary_container_light: Int
Value: 17170526system_primary_fixed_dim
static val system_primary_fixed_dim: Int
Value: 17170613system_secondary_container_dark
static val system_secondary_container_dark: Int
Value: 17170573system_secondary_container_light
static val system_secondary_container_light: Int
Value: 17170530system_secondary_fixed_dim
static val system_secondary_fixed_dim: Int
Value: 17170617system_surface_bright_dark
static val system_surface_bright_dark: Int
Value: 17170590system_surface_bright_light
static val system_surface_bright_light: Int
Value: 17170547system_surface_container_dark
static val system_surface_container_dark: Int
Value: 17170587system_surface_container_high_dark
static val system_surface_container_high_dark: Int
Value: 17170588system_surface_container_high_light
static val system_surface_container_high_light: Int
Value: 17170545system_surface_container_highest_dark
static val system_surface_container_highest_dark: Int
Value: 17170589system_surface_container_highest_light
static val system_surface_container_highest_light: Int
Value: 17170546system_surface_container_light
static val system_surface_container_light: Int
Value: 17170544system_surface_container_low_dark
static val system_surface_container_low_dark: Int
Value: 17170585system_surface_container_low_light
static val system_surface_container_low_light: Int
Value: 17170542system_surface_container_lowest_dark
static val system_surface_container_lowest_dark: Int
Value: 17170586system_surface_container_lowest_light
static val system_surface_container_lowest_light: Int
Value: 17170543system_surface_dim_dark
static val system_surface_dim_dark: Int
Value: 17170591system_surface_dim_light
static val system_surface_dim_light: Int
Value: 17170548system_surface_disabled
static val system_surface_disabled: Int
Value: 17170626system_surface_variant_dark
static val system_surface_variant_dark: Int
Value: 17170592system_surface_variant_light
static val system_surface_variant_light: Int
Value: 17170549system_tertiary_container_dark
static val system_tertiary_container_dark: Int
Value: 17170577system_tertiary_container_light
static val system_tertiary_container_light: Int
Value: 17170534system_tertiary_fixed_dim
static val system_tertiary_fixed_dim: Int
Value: 17170621system_text_hint_inverse_dark
static val system_text_hint_inverse_dark: Int
Value: 17170606system_text_hint_inverse_light
static val system_text_hint_inverse_light: Int
Value: 17170563system_text_primary_inverse_dark
static val system_text_primary_inverse_dark: Int
Value: 17170602system_text_primary_inverse_disable_only_dark
static val system_text_primary_inverse_disable_only_dark: Int
Value: 17170604system_text_primary_inverse_disable_only_light
static val system_text_primary_inverse_disable_only_light: Int
Value: 17170561system_text_primary_inverse_light
static val system_text_primary_inverse_light: Int
Value: 17170559system_text_secondary_and_tertiary_inverse_dark
static val system_text_secondary_and_tertiary_inverse_dark: Int
Value: 17170603system_text_secondary_and_tertiary_inverse_disabled_dark
static val system_text_secondary_and_tertiary_inverse_disabled_dark: Int
Value: 17170605system_text_secondary_and_tertiary_inverse_disabled_light
static val system_text_secondary_and_tertiary_inverse_disabled_light: Int
Value: 17170562system_text_secondary_and_tertiary_inverse_light
static val system_text_secondary_and_tertiary_inverse_light: Int
Value: 17170560tab_indicator_text
static val tab_indicator_text: Int
Equivalent to 0xff808080
Value: 17170441tertiary_text_dark
static valtertiary_text_dark: Int
Deprecated: Deprecated in Java.
{@deprecated Use a text color from your theme instead.}
Value: 17170448tertiary_text_light
static valtertiary_text_light: Int
Deprecated: Deprecated in Java.
{@deprecated Use a text color from your theme instead.}
Value: 17170449transparent
static val transparent: Int
Fully transparent, equivalent to 0x00000000
Value: 17170445white
static val white: Int
The color white, equivalent to 0xffffffff
Value: 17170443widget_edittext_dark
static val widget_edittext_dark: Int
Equivalent to 0xff000000
Value: 17170442Public constructors
color
color()