Added in API level 1

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

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

Deprecated color for screen backgrounds, use Surface instead in light mode.

static Int

Color used for the 'on' or 'active' state of UI controls like checkboxes and switches in dark mode.

static Int

Color used for the 'on' or 'active' state of UI controls like checkboxes and switches in light mode.

static Int

Color for interaction visual feedback, such as ripples or hover states, on UI controls in dark mode.

static Int

Color for interaction visual feedback, such as ripples or hover states, on UI controls in light mode.

static Int

Default color for UI controls in their inactive or resting state in dark mode.

static Int

Default color for UI controls in their inactive or resting state in light mode.

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

Lower emphasis fill color indicating errors or destructive actions in dark mode.

static Int

Lower emphasis fill color indicating errors or destructive actions in light mode.

static Int

High emphasis text/icon or fill color indicating errors or destructive actions in dark mode.

static Int

High emphasis text/icon or fill color indicating errors or destructive actions in light mode.

static Int

Text/icon color for inverted components like snack bars in dark mode.

static Int

Text/icon color for inverted components like snack bars in light mode.

static Int

Text/icon accent color for actions on inverted components like snack bars in dark mode.

static Int

Text/icon accent color for actions on inverted components like snack bars in light mode.

static Int

Fill color for inverted components like snack bars in dark mode.

static Int

Fill color for inverted components like snack bars in light mode.

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

Deprecated color for text/icon elements, use On Surface instead in dark mode.

static Int

Deprecated color for text/icon elements, use On Surface instead in light mode.

static Int

Text/icon color against Error Container fill color in dark mode.

static Int

Text/icon color against Error Container fill color in light mode.

static Int

Text/icon color against Error fill color (and Error Dim in Wear) in dark mode.

static Int

Text/icon color against Error fill color (and Error Dim in Wear) in light mode.

static Int

Text/icon color against Primary Container fill color in dark mode.

static Int

Text/icon color against Primary Container fill color in light mode.

static Int

Text/icon color against Primary fill color (and Primary Dim in Wear) in dark mode.

static Int

static Int

static Int

Text/icon color against Primary fill color (and Primary Dim in Wear) in light mode.

static Int

Text/icon color against Secondary Container fill color in dark mode.

static Int

Text/icon color against Secondary Container fill color in light mode.

static Int

Text/icon color against Secondary fill color (and Secondary Dim in Wear) in dark mode.

static Int

static Int

static Int

Text/icon color against Secondary fill color (and Secondary Dim in Wear) in light mode.

static Int

Higher emphasis text/icon color against Surfaces in dark mode.

static Int

static Int

Higher emphasis text/icon color against Surfaces in light mode.

static Int

Lower emphasis text/icon color against Surfaces in dark mode.

static Int

Lower emphasis text/icon color against Surfaces in light mode.

static Int

Text/icon color against Tertiary Container fill color in dark mode.

static Int

Text/icon color against Tertiary Container fill color in light mode.

static Int

Text/icon color against Tertiary fill color (and Tertiary Dim in Wear) in dark mode.

static Int

static Int

static Int

Text/icon color against Tertiary fill color (and Tertiary Dim in Wear) in light mode.

static Int

Higher emphasis outline color against Surfaces in dark mode.

static Int

static Int

Higher emphasis outline color against Surfaces in light mode.

static Int

Lower emphasis outline color against Surfaces in dark mode.

static Int

Lower emphasis outline color against Surfaces in light mode.

static Int

Color whose hue and chroma are used to create Neutral palette and related tokens in dark mode.

static Int

Color whose hue and chroma are used to create Neutral palette and related tokens in light mode.

static Int

Color whose hue and chroma are used to create Neutral Variant palette and related tokens in dark mode.

static Int

Color whose hue and chroma are used to create Neutral Variant palette and related tokens in light mode.

static Int

Color whose hue and chroma are used to create Primary palette and related tokens in dark mode.

static Int

Color whose hue and chroma are used to create Primary palette and related tokens in light mode.

static Int

Color whose hue and chroma are used to create Secondary palette and related tokens in dark mode.

static Int

Color whose hue and chroma are used to create Secondary palette and related tokens in light mode.

static Int

Color whose hue and chroma are used to create Tertiary palette and related tokens in dark mode.

static Int

Color whose hue and chroma are used to create Tertiary palette and related tokens in light mode.

static Int

Fill color for main actions in dark mode.

static Int

Fill color for main actions in light mode.

static Int

Text/icon or fill color for main actions in dark mode.

static Int

static Int

static Int

Text/icon or fill color for main actions in light mode.

static Int

Color for the semi-transparent overlay that dims the background behind modal windows or dialogs in dark mode.

static Int

Color for the semi-transparent overlay that dims the background behind modal windows or dialogs in light mode.

static Int

Fill color for supporting actions in dark mode.

static Int

Fill color for supporting actions in light mode.

static Int

Text/icon or fill color for supporting actions in dark mode.

static Int

static Int

static Int

Text/icon or fill color for supporting actions in light mode.

static Int

Base color used for casting elevation shadows under UI elements in dark mode.

static Int

Base color used for casting elevation shadows under UI elements in light mode.

static Int

Brightened background fill color in dark mode.

static Int

Brightened background fill color in light mode.

static Int

Background fill color providing emphasis against Surface in dark mode.

static Int

Background fill color providing the highest emphasis against Surface in dark mode.

static Int

Background fill color providing the highest emphasis against Surface in light mode.

static Int

Background fill color providing higher emphasis against Surface in dark mode.

static Int

Background fill color providing higher emphasis against Surface in light mode.

static Int

Background fill color providing emphasis against Surface in light mode.

static Int

Background fill color providing lower emphasis against Surface in dark mode.

static Int

Background fill color providing lower emphasis against Surface in light mode.

static Int

Background fill color providing the lowest emphasis against Surface in dark mode.

static Int

Background fill color providing the lowest emphasis against Surface in light mode.

static Int

Default background fill color in dark mode.

static Int

Darkened background fill color in dark mode.

static Int

Darkened background fill color in light mode.

static Int

static Int

Default background fill color in light mode.

static Int

Deprecated background fill color used to create Surface containers in dark mode.

static Int

Deprecated background fill color used to create Surface containers in light mode.

static Int

Deprecated background fill color, use Surface Container High instead in dark mode.

static Int

Deprecated background fill color, use Surface Container High instead in light mode.

static Int

Fill color for differentiated or special actions like badges in dark mode.

static Int

Fill color for differentiated or special actions like badges in light mode.

static Int

Text/icon or fill color for differentiated or special actions like badges in dark mode.

static Int

static Int

static Int

Text/icon or fill color for differentiated or special actions like badges in light mode.

static Int

Color for hint (placeholder) text on surfaces with an inverted background in dark mode.

static Int

Color for hint (placeholder) text on surfaces with an inverted background in light mode.

static Int

Primary text color on surfaces with an inverted background in dark mode.

static Int

Color used specifically for disabled primary text on inverted surfaces in dark mode.

static Int

Color used specifically for disabled primary text on inverted surfaces in light mode.

static Int

Primary text color on surfaces with an inverted background in light mode.

static Int

Color for secondary and tertiary text on surfaces with an inverted background in dark mode.

static Int

Color for disabled secondary and tertiary text on an inverted surface in dark mode.

static Int

Color for disabled secondary and tertiary text on an inverted surface in light mode.

static Int

Color for secondary and tertiary text on surfaces with an inverted background in light mode.

static Int

Equivalent to 0xff808080

static Int

static Int

static Int

Fully transparent, equivalent to 0x00000000

static Int

The color white, equivalent to 0xffffffff

static Int

Equivalent to 0xff000000

Public constructors

Constants

background_dark

Added in API level 1
static val background_dark: Int

Equivalent to 0xff000000 Equivalent to 0xff000000

Value: 17170446

background_light

Added in API level 1
static val background_light: Int

Equivalent to 0xffffffff Equivalent to 0xffffffff

Value: 17170447

black

Added in API level 1
static val black: Int

The color black, equivalent to 0xff000000

Value: 17170444

darker_gray

Added in API level 1
static val darker_gray: Int

Equivalent to 0xffaaaaaa A dark gray, equivalent to 0xffaaaaaa

Value: 17170432

holo_blue_bright

Added in API level 14
static val holo_blue_bright: Int

A really bright Holo shade of blue. Equivalent to #ff00ddff.

Value: 17170459

holo_blue_dark

Added in API level 14
static val holo_blue_dark: Int

A dark Holo shade of blue. Equivalent to #ff0099cc

Value: 17170451

holo_blue_light

Added in API level 14
static val holo_blue_light: Int

A light Holo shade of blue. Equivalent to #ff33b5e5.

Value: 17170450

holo_green_dark

Added in API level 14
static val holo_green_dark: Int

A dark Holo shade of green. Equivalent to #ff669900

Value: 17170453

holo_green_light

Added in API level 14
static val holo_green_light: Int

A light Holo shade of green. Equivalent to #ff99cc00.

Value: 17170452

holo_orange_dark

Added in API level 14
static val holo_orange_dark: Int

A dark Holo shade of orange. Equivalent to ffff8800.

Value: 17170457

holo_orange_light

Added in API level 14
static val holo_orange_light: Int

A light Holo shade of orange. Equivalent to #ffffbb33.

Value: 17170456

holo_purple

Added in API level 14
static val holo_purple: Int

A Holo shade of purple. Equivalent to #ffaa66cc

Value: 17170458

holo_red_dark

Added in API level 14
static val holo_red_dark: Int

A dark Holo shade of red. Equivalent to #ffcc0000

Value: 17170455

holo_red_light

Added in API level 14
static val holo_red_light: Int

A light Holo shade of red. Equivalent to #ffff4444. <

Value: 17170454

primary_text_dark

Added in API level 1
Deprecated in API level 28
static val primary_text_dark: Int

Deprecated: Use a text color from your theme instead.

Value: 17170433

primary_text_dark_nodisable

Added in API level 1
Deprecated in API level 28
static val primary_text_dark_nodisable: Int

Deprecated: Use a text color from your theme instead.

Value: 17170434

primary_text_light

Added in API level 1
Deprecated in API level 28
static val primary_text_light: Int

Deprecated: Use a text color from your theme instead.

Value: 17170435

primary_text_light_nodisable

Added in API level 1
Deprecated in API level 28
static val primary_text_light_nodisable: Int

Deprecated: Use a text color from your theme instead.

Value: 17170436

secondary_text_dark

Added in API level 1
Deprecated in API level 28
static val secondary_text_dark: Int

Deprecated: Use a text color from your theme instead.

Value: 17170437

secondary_text_dark_nodisable

Added in API level 1
Deprecated in API level 28
static val secondary_text_dark_nodisable: Int

Deprecated: Use a text color from your theme instead.

Value: 17170438

secondary_text_light

Added in API level 1
Deprecated in API level 28
static val secondary_text_light: Int

Deprecated: Use a text color from your theme instead.

Value: 17170439

secondary_text_light_nodisable

Added in API level 1
Deprecated in API level 28
static val secondary_text_light_nodisable: Int

Deprecated: Use a text color from your theme instead.

Value: 17170440

system_accent1_0

Added in API level 31
static val system_accent1_0: Int
Value: 17170487

system_accent1_10

Added in API level 31
static val system_accent1_10: Int
Value: 17170488

system_accent1_100

Added in API level 31
static val system_accent1_100: Int
Value: 17170490

system_accent1_1000

Added in API level 31
static val system_accent1_1000: Int
Value: 17170499

system_accent1_200

Added in API level 31
static val system_accent1_200: Int
Value: 17170491

system_accent1_300

Added in API level 31
static val system_accent1_300: Int
Value: 17170492

system_accent1_400

Added in API level 31
static val system_accent1_400: Int
Value: 17170493

system_accent1_50

Added in API level 31
static val system_accent1_50: Int
Value: 17170489

system_accent1_500

Added in API level 31
static val system_accent1_500: Int
Value: 17170494

system_accent1_600

Added in API level 31
static val system_accent1_600: Int
Value: 17170495

system_accent1_700

Added in API level 31
static val system_accent1_700: Int
Value: 17170496

system_accent1_800

Added in API level 31
static val system_accent1_800: Int
Value: 17170497

system_accent1_900

Added in API level 31
static val system_accent1_900: Int
Value: 17170498

system_accent2_0

Added in API level 31
static val system_accent2_0: Int
Value: 17170500

system_accent2_10

Added in API level 31
static val system_accent2_10: Int
Value: 17170501

system_accent2_100

Added in API level 31
static val system_accent2_100: Int
Value: 17170503

system_accent2_1000

Added in API level 31
static val system_accent2_1000: Int
Value: 17170512

system_accent2_200

Added in API level 31
static val system_accent2_200: Int
Value: 17170504

system_accent2_300

Added in API level 31
static val system_accent2_300: Int
Value: 17170505

system_accent2_400

Added in API level 31
static val system_accent2_400: Int
Value: 17170506

system_accent2_50

Added in API level 31
static val system_accent2_50: Int
Value: 17170502

system_accent2_500

Added in API level 31
static val system_accent2_500: Int
Value: 17170507

system_accent2_600

Added in API level 31
static val system_accent2_600: Int
Value: 17170508

system_accent2_700

Added in API level 31
static val system_accent2_700: Int
Value: 17170509

system_accent2_800

Added in API level 31
static val system_accent2_800: Int
Value: 17170510

system_accent2_900

Added in API level 31
static val system_accent2_900: Int
Value: 17170511

system_accent3_0

Added in API level 31
static val system_accent3_0: Int
Value: 17170513

system_accent3_10

Added in API level 31
static val system_accent3_10: Int
Value: 17170514

system_accent3_100

Added in API level 31
static val system_accent3_100: Int
Value: 17170516

system_accent3_1000

Added in API level 31
static val system_accent3_1000: Int
Value: 17170525

system_accent3_200

Added in API level 31
static val system_accent3_200: Int
Value: 17170517

system_accent3_300

Added in API level 31
static val system_accent3_300: Int
Value: 17170518

system_accent3_400

Added in API level 31
static val system_accent3_400: Int
Value: 17170519

system_accent3_50

Added in API level 31
static val system_accent3_50: Int
Value: 17170515

system_accent3_500

Added in API level 31
static val system_accent3_500: Int
Value: 17170520

system_accent3_600

Added in API level 31
static val system_accent3_600: Int
Value: 17170521

system_accent3_700

Added in API level 31
static val system_accent3_700: Int
Value: 17170522

system_accent3_800

Added in API level 31
static val system_accent3_800: Int
Value: 17170523

system_accent3_900

Added in API level 31
static val system_accent3_900: Int
Value: 17170524

system_background_dark

Added in API level 34
static val system_background_dark: Int
Value: 17170581

system_background_light

Added in API level 34
static val system_background_light: Int

Deprecated color for screen backgrounds, use Surface instead in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170538

system_control_activated_dark

Added in API level 34
static val system_control_activated_dark: Int

Color used for the 'on' or 'active' state of UI controls like checkboxes and switches in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170599

system_control_activated_light

Added in API level 34
static val system_control_activated_light: Int

Color used for the 'on' or 'active' state of UI controls like checkboxes and switches in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170556

system_control_highlight_dark

Added in API level 34
static val system_control_highlight_dark: Int

Color for interaction visual feedback, such as ripples or hover states, on UI controls in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170601

system_control_highlight_light

Added in API level 34
static val system_control_highlight_light: Int

Color for interaction visual feedback, such as ripples or hover states, on UI controls in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170558

system_control_normal_dark

Added in API level 34
static val system_control_normal_dark: Int

Default color for UI controls in their inactive or resting state in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170600

system_control_normal_light

Added in API level 34
static val system_control_normal_light: Int

Default color for UI controls in their inactive or resting state in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170557

system_error_0

Added in API level 35
static val system_error_0: Int
Value: 17170629

system_error_10

Added in API level 35
static val system_error_10: Int
Value: 17170630

system_error_100

Added in API level 35
static val system_error_100: Int
Value: 17170632

system_error_1000

Added in API level 35
static val system_error_1000: Int
Value: 17170641

system_error_200

Added in API level 35
static val system_error_200: Int
Value: 17170633

system_error_300

Added in API level 35
static val system_error_300: Int
Value: 17170634

system_error_400

Added in API level 35
static val system_error_400: Int
Value: 17170635

system_error_50

Added in API level 35
static val system_error_50: Int
Value: 17170631

system_error_500

Added in API level 35
static val system_error_500: Int
Value: 17170636

system_error_600

Added in API level 35
static val system_error_600: Int
Value: 17170637

system_error_700

Added in API level 35
static val system_error_700: Int
Value: 17170638

system_error_800

Added in API level 35
static val system_error_800: Int
Value: 17170639

system_error_900

Added in API level 35
static val system_error_900: Int
Value: 17170640

system_error_container_dark

Added in API level 34
static val system_error_container_dark: Int

Lower emphasis fill color indicating errors or destructive actions in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170597

system_error_container_light

Added in API level 34
static val system_error_container_light: Int

Lower emphasis fill color indicating errors or destructive actions in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170554

system_error_dark

Added in API level 34
static val system_error_dark: Int

High emphasis text/icon or fill color indicating errors or destructive actions in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170595

system_error_light

Added in API level 34
static val system_error_light: Int

High emphasis text/icon or fill color indicating errors or destructive actions in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170552

system_inverse_on_surface_dark

Added in API level 37
static val system_inverse_on_surface_dark: Int

Text/icon color for inverted components like snack bars in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170648

system_inverse_on_surface_light

Added in API level 37
static val system_inverse_on_surface_light: Int

Text/icon color for inverted components like snack bars in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170642

system_inverse_primary_dark

Added in API level 37
static val system_inverse_primary_dark: Int

Text/icon accent color for actions on inverted components like snack bars in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170649

system_inverse_primary_light

Added in API level 37
static val system_inverse_primary_light: Int

Text/icon accent color for actions on inverted components like snack bars in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170643

system_inverse_surface_dark

Added in API level 37
static val system_inverse_surface_dark: Int

Fill color for inverted components like snack bars in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170650

system_inverse_surface_light

Added in API level 37
static val system_inverse_surface_light: Int

Fill color for inverted components like snack bars in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170644

system_neutral1_0

Added in API level 31
static val system_neutral1_0: Int
Value: 17170461

system_neutral1_10

Added in API level 31
static val system_neutral1_10: Int
Value: 17170462

system_neutral1_100

Added in API level 31
static val system_neutral1_100: Int
Value: 17170464

system_neutral1_1000

Added in API level 31
static val system_neutral1_1000: Int
Value: 17170473

system_neutral1_200

Added in API level 31
static val system_neutral1_200: Int
Value: 17170465

system_neutral1_300

Added in API level 31
static val system_neutral1_300: Int
Value: 17170466

system_neutral1_400

Added in API level 31
static val system_neutral1_400: Int
Value: 17170467

system_neutral1_50

Added in API level 31
static val system_neutral1_50: Int
Value: 17170463

system_neutral1_500

Added in API level 31
static val system_neutral1_500: Int
Value: 17170468

system_neutral1_600

Added in API level 31
static val system_neutral1_600: Int
Value: 17170469

system_neutral1_700

Added in API level 31
static val system_neutral1_700: Int
Value: 17170470

system_neutral1_800

Added in API level 31
static val system_neutral1_800: Int
Value: 17170471

system_neutral1_900

Added in API level 31
static val system_neutral1_900: Int
Value: 17170472

system_neutral2_0

Added in API level 31
static val system_neutral2_0: Int
Value: 17170474

system_neutral2_10

Added in API level 31
static val system_neutral2_10: Int
Value: 17170475

system_neutral2_100

Added in API level 31
static val system_neutral2_100: Int
Value: 17170477

system_neutral2_1000

Added in API level 31
static val system_neutral2_1000: Int
Value: 17170486

system_neutral2_200

Added in API level 31
static val system_neutral2_200: Int
Value: 17170478

system_neutral2_300

Added in API level 31
static val system_neutral2_300: Int
Value: 17170479

system_neutral2_400

Added in API level 31
static val system_neutral2_400: Int
Value: 17170480

system_neutral2_50

Added in API level 31
static val system_neutral2_50: Int
Value: 17170476

system_neutral2_500

Added in API level 31
static val system_neutral2_500: Int
Value: 17170481

system_neutral2_600

Added in API level 31
static val system_neutral2_600: Int
Value: 17170482

system_neutral2_700

Added in API level 31
static val system_neutral2_700: Int
Value: 17170483

system_neutral2_800

Added in API level 31
static val system_neutral2_800: Int
Value: 17170484

system_neutral2_900

Added in API level 31
static val system_neutral2_900: Int
Value: 17170485

system_on_background_dark

Added in API level 34
static val system_on_background_dark: Int

Deprecated color for text/icon elements, use On Surface instead in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170582

system_on_background_light

Added in API level 34
static val system_on_background_light: Int

Deprecated color for text/icon elements, use On Surface instead in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170539

system_on_error_container_dark

Added in API level 34
static val system_on_error_container_dark: Int

Text/icon color against Error Container fill color in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170598

system_on_error_container_light

Added in API level 34
static val system_on_error_container_light: Int

Text/icon color against Error Container fill color in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170555

system_on_error_dark

Added in API level 34
static val system_on_error_dark: Int

Text/icon color against Error fill color (and Error Dim in Wear) in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170596

system_on_error_light

Added in API level 34
static val system_on_error_light: Int

Text/icon color against Error fill color (and Error Dim in Wear) in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170553

system_on_primary_container_dark

Added in API level 34
static val system_on_primary_container_dark: Int

Text/icon color against Primary Container fill color in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170570

system_on_primary_container_light

Added in API level 34
static val system_on_primary_container_light: Int

Text/icon color against Primary Container fill color in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170527

system_on_primary_dark

Added in API level 34
static val system_on_primary_dark: Int

Text/icon color against Primary fill color (and Primary Dim in Wear) in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170572

system_on_primary_fixed

Added in API level 34
static val system_on_primary_fixed: Int
Value: 17170614

system_on_primary_fixed_variant

Added in API level 34
static val system_on_primary_fixed_variant: Int
Value: 17170615

system_on_primary_light

Added in API level 34
static val system_on_primary_light: Int

Text/icon color against Primary fill color (and Primary Dim in Wear) in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170529

system_on_secondary_container_dark

Added in API level 34
static val system_on_secondary_container_dark: Int

Text/icon color against Secondary Container fill color in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170574

system_on_secondary_container_light

Added in API level 34
static val system_on_secondary_container_light: Int

Text/icon color against Secondary Container fill color in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170531

system_on_secondary_dark

Added in API level 34
static val system_on_secondary_dark: Int

Text/icon color against Secondary fill color (and Secondary Dim in Wear) in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170576

system_on_secondary_fixed

Added in API level 34
static val system_on_secondary_fixed: Int
Value: 17170618

system_on_secondary_fixed_variant

Added in API level 34
static val system_on_secondary_fixed_variant: Int
Value: 17170619

system_on_secondary_light

Added in API level 34
static val system_on_secondary_light: Int

Text/icon color against Secondary fill color (and Secondary Dim in Wear) in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170533

system_on_surface_dark

Added in API level 34
static val system_on_surface_dark: Int

Higher emphasis text/icon color against Surfaces in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170584

system_on_surface_disabled

Added in API level 35
static val system_on_surface_disabled: Int
Value: 17170627

system_on_surface_light

Added in API level 34
static val system_on_surface_light: Int

Higher emphasis text/icon color against Surfaces in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170541

system_on_surface_variant_dark

Added in API level 34
static val system_on_surface_variant_dark: Int

Lower emphasis text/icon color against Surfaces in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170593

system_on_surface_variant_light

Added in API level 34
static val system_on_surface_variant_light: Int

Lower emphasis text/icon color against Surfaces in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170550

system_on_tertiary_container_dark

Added in API level 34
static val system_on_tertiary_container_dark: Int

Text/icon color against Tertiary Container fill color in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170578

system_on_tertiary_container_light

Added in API level 34
static val system_on_tertiary_container_light: Int

Text/icon color against Tertiary Container fill color in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170535

system_on_tertiary_dark

Added in API level 34
static val system_on_tertiary_dark: Int

Text/icon color against Tertiary fill color (and Tertiary Dim in Wear) in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170580

system_on_tertiary_fixed

Added in API level 34
static val system_on_tertiary_fixed: Int
Value: 17170622

system_on_tertiary_fixed_variant

Added in API level 34
static val system_on_tertiary_fixed_variant: Int
Value: 17170623

system_on_tertiary_light

Added in API level 34
static val system_on_tertiary_light: Int

Text/icon color against Tertiary fill color (and Tertiary Dim in Wear) in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170537

system_outline_dark

Added in API level 34
static val system_outline_dark: Int

Higher emphasis outline color against Surfaces in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170594

system_outline_disabled

Added in API level 35
static val system_outline_disabled: Int
Value: 17170628

system_outline_light

Added in API level 34
static val system_outline_light: Int

Higher emphasis outline color against Surfaces in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170551

system_outline_variant_dark

Added in API level 34
static val system_outline_variant_dark: Int

Lower emphasis outline color against Surfaces in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170625

system_outline_variant_light

Added in API level 34
static val system_outline_variant_light: Int

Lower emphasis outline color against Surfaces in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170624

system_palette_key_color_neutral_dark

Added in API level 34
static val system_palette_key_color_neutral_dark: Int

Color whose hue and chroma are used to create Neutral palette and related tokens in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170610

system_palette_key_color_neutral_light

Added in API level 34
static val system_palette_key_color_neutral_light: Int

Color whose hue and chroma are used to create Neutral palette and related tokens in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170567

system_palette_key_color_neutral_variant_dark

Added in API level 34
static val system_palette_key_color_neutral_variant_dark: Int

Color whose hue and chroma are used to create Neutral Variant palette and related tokens in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170611

system_palette_key_color_neutral_variant_light

Added in API level 34
static val system_palette_key_color_neutral_variant_light: Int

Color whose hue and chroma are used to create Neutral Variant palette and related tokens in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170568

system_palette_key_color_primary_dark

Added in API level 34
static val system_palette_key_color_primary_dark: Int

Color whose hue and chroma are used to create Primary palette and related tokens in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170607

system_palette_key_color_primary_light

Added in API level 34
static val system_palette_key_color_primary_light: Int

Color whose hue and chroma are used to create Primary palette and related tokens in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170564

system_palette_key_color_secondary_dark

Added in API level 34
static val system_palette_key_color_secondary_dark: Int

Color whose hue and chroma are used to create Secondary palette and related tokens in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170608

system_palette_key_color_secondary_light

Added in API level 34
static val system_palette_key_color_secondary_light: Int

Color whose hue and chroma are used to create Secondary palette and related tokens in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170565

system_palette_key_color_tertiary_dark

Added in API level 34
static val system_palette_key_color_tertiary_dark: Int

Color whose hue and chroma are used to create Tertiary palette and related tokens in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170609

system_palette_key_color_tertiary_light

Added in API level 34
static val system_palette_key_color_tertiary_light: Int

Color whose hue and chroma are used to create Tertiary palette and related tokens in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170566

system_primary_container_dark

Added in API level 34
static val system_primary_container_dark: Int

Fill color for main actions in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170569

system_primary_container_light

Added in API level 34
static val system_primary_container_light: Int

Fill color for main actions in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170526

system_primary_dark

Added in API level 34
static val system_primary_dark: Int

Text/icon or fill color for main actions in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170571

system_primary_fixed

Added in API level 34
static val system_primary_fixed: Int
Value: 17170612

system_primary_fixed_dim

Added in API level 34
static val system_primary_fixed_dim: Int
Value: 17170613

system_primary_light

Added in API level 34
static val system_primary_light: Int

Text/icon or fill color for main actions in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170528

system_scrim_dark

Added in API level 37
static val system_scrim_dark: Int

Color for the semi-transparent overlay that dims the background behind modal windows or dialogs in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170651

system_scrim_light

Added in API level 37
static val system_scrim_light: Int

Color for the semi-transparent overlay that dims the background behind modal windows or dialogs in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170645

system_secondary_container_dark

Added in API level 34
static val system_secondary_container_dark: Int

Fill color for supporting actions in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170573

system_secondary_container_light

Added in API level 34
static val system_secondary_container_light: Int

Fill color for supporting actions in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170530

system_secondary_dark

Added in API level 34
static val system_secondary_dark: Int

Text/icon or fill color for supporting actions in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170575

system_secondary_fixed

Added in API level 34
static val system_secondary_fixed: Int
Value: 17170616

system_secondary_fixed_dim

Added in API level 34
static val system_secondary_fixed_dim: Int
Value: 17170617

system_secondary_light

Added in API level 34
static val system_secondary_light: Int

Text/icon or fill color for supporting actions in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170532

system_shadow_dark

Added in API level 37
static val system_shadow_dark: Int

Base color used for casting elevation shadows under UI elements in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170652

system_shadow_light

Added in API level 37
static val system_shadow_light: Int

Base color used for casting elevation shadows under UI elements in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170646

system_surface_bright_dark

Added in API level 34
static val system_surface_bright_dark: Int

Brightened background fill color in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170590

system_surface_bright_light

Added in API level 34
static val system_surface_bright_light: Int

Brightened background fill color in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170547

system_surface_container_dark

Added in API level 34
static val system_surface_container_dark: Int

Background fill color providing emphasis against Surface in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170587

system_surface_container_high_dark

Added in API level 34
static val system_surface_container_high_dark: Int

Background fill color providing the highest emphasis against Surface in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170588

system_surface_container_high_light

Added in API level 34
static val system_surface_container_high_light: Int

Background fill color providing the highest emphasis against Surface in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170545

system_surface_container_highest_dark

Added in API level 34
static val system_surface_container_highest_dark: Int

Background fill color providing higher emphasis against Surface in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170589

system_surface_container_highest_light

Added in API level 34
static val system_surface_container_highest_light: Int

Background fill color providing higher emphasis against Surface in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170546

system_surface_container_light

Added in API level 34
static val system_surface_container_light: Int

Background fill color providing emphasis against Surface in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170544

system_surface_container_low_dark

Added in API level 34
static val system_surface_container_low_dark: Int

Background fill color providing lower emphasis against Surface in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170585

system_surface_container_low_light

Added in API level 34
static val system_surface_container_low_light: Int

Background fill color providing lower emphasis against Surface in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170542

system_surface_container_lowest_dark

Added in API level 34
static val system_surface_container_lowest_dark: Int

Background fill color providing the lowest emphasis against Surface in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170586

system_surface_container_lowest_light

Added in API level 34
static val system_surface_container_lowest_light: Int

Background fill color providing the lowest emphasis against Surface in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170543

system_surface_dark

Added in API level 34
static val system_surface_dark: Int

Default background fill color in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170583

system_surface_dim_dark

Added in API level 34
static val system_surface_dim_dark: Int

Darkened background fill color in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170591

system_surface_dim_light

Added in API level 34
static val system_surface_dim_light: Int

Darkened background fill color in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170548

system_surface_disabled

Added in API level 35
static val system_surface_disabled: Int
Value: 17170626

system_surface_light

Added in API level 34
static val system_surface_light: Int

Default background fill color in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170540

system_surface_tint_dark

Added in API level 37
static val system_surface_tint_dark: Int

Deprecated background fill color used to create Surface containers in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170653

system_surface_tint_light

Added in API level 37
static val system_surface_tint_light: Int

Deprecated background fill color used to create Surface containers in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170647

system_surface_variant_dark

Added in API level 34
static val system_surface_variant_dark: Int

Deprecated background fill color, use Surface Container High instead in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170592

system_surface_variant_light

Added in API level 34
static val system_surface_variant_light: Int

Deprecated background fill color, use Surface Container High instead in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170549

system_tertiary_container_dark

Added in API level 34
static val system_tertiary_container_dark: Int

Fill color for differentiated or special actions like badges in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170577

system_tertiary_container_light

Added in API level 34
static val system_tertiary_container_light: Int

Fill color for differentiated or special actions like badges in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170534

system_tertiary_dark

Added in API level 34
static val system_tertiary_dark: Int

Text/icon or fill color for differentiated or special actions like badges in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170579

system_tertiary_fixed

Added in API level 34
static val system_tertiary_fixed: Int
Value: 17170620

system_tertiary_fixed_dim

Added in API level 34
static val system_tertiary_fixed_dim: Int
Value: 17170621

system_tertiary_light

Added in API level 34
static val system_tertiary_light: Int

Text/icon or fill color for differentiated or special actions like badges in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170536

system_text_hint_inverse_dark

Added in API level 34
static val system_text_hint_inverse_dark: Int

Color for hint (placeholder) text on surfaces with an inverted background in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170606

system_text_hint_inverse_light

Added in API level 34
static val system_text_hint_inverse_light: Int

Color for hint (placeholder) text on surfaces with an inverted background in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170563

system_text_primary_inverse_dark

Added in API level 34
static val system_text_primary_inverse_dark: Int

Primary text color on surfaces with an inverted background in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170602

system_text_primary_inverse_disable_only_dark

Added in API level 34
static val system_text_primary_inverse_disable_only_dark: Int

Color used specifically for disabled primary text on inverted surfaces in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170604

system_text_primary_inverse_disable_only_light

Added in API level 34
static val system_text_primary_inverse_disable_only_light: Int

Color used specifically for disabled primary text on inverted surfaces in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170561

system_text_primary_inverse_light

Added in API level 34
static val system_text_primary_inverse_light: Int

Primary text color on surfaces with an inverted background in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170559

system_text_secondary_and_tertiary_inverse_dark

Added in API level 34
static val system_text_secondary_and_tertiary_inverse_dark: Int

Color for secondary and tertiary text on surfaces with an inverted background in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170603

system_text_secondary_and_tertiary_inverse_disabled_dark

Added in API level 34
static val system_text_secondary_and_tertiary_inverse_disabled_dark: Int

Color for disabled secondary and tertiary text on an inverted surface in dark mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170605

system_text_secondary_and_tertiary_inverse_disabled_light

Added in API level 34
static val system_text_secondary_and_tertiary_inverse_disabled_light: Int

Color for disabled secondary and tertiary text on an inverted surface in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170562

system_text_secondary_and_tertiary_inverse_light

Added in API level 34
static val system_text_secondary_and_tertiary_inverse_light: Int

Color for secondary and tertiary text on surfaces with an inverted background in light mode. This value can be overlaid at runtime by OverlayManager RROs.

Value: 17170560

tab_indicator_text

Added in API level 1
static val tab_indicator_text: Int

Equivalent to 0xff808080

Value: 17170441

tertiary_text_dark

Added in API level 1
Deprecated in API level 28
static val tertiary_text_dark: Int

Deprecated: Use a text color from your theme instead.

Value: 17170448

tertiary_text_light

Added in API level 1
Deprecated in API level 28
static val tertiary_text_light: Int

Deprecated: Use a text color from your theme instead.

Value: 17170449

transparent

Added in API level 1
static val transparent: Int

Fully transparent, equivalent to 0x00000000

Value: 17170445

white

Added in API level 1
static val white: Int

The color white, equivalent to 0xffffffff

Value: 17170443

widget_edittext_dark

Added in API level 1
static val widget_edittext_dark: Int

Equivalent to 0xff000000

Value: 17170442

Public constructors

color

color()