R.color
public
static
final
class
R.color
extends Object
| java.lang.Object | |
| ↳ | android.R.color |
Summary
Constants | |
|---|---|
int |
background_dark
Equivalent to 0xff000000 Equivalent to 0xff000000 |
int |
background_light
Equivalent to 0xffffffff Equivalent to 0xffffffff |
int |
black
The color black, equivalent to 0xff000000 |
int |
darker_gray
Equivalent to 0xffaaaaaa A dark gray, equivalent to 0xffaaaaaa |
int |
holo_blue_bright
A really bright Holo shade of blue. |
int |
holo_blue_dark
A dark Holo shade of blue. |
int |
holo_blue_light
A light Holo shade of blue. |
int |
holo_green_dark
A dark Holo shade of green. |
int |
holo_green_light
A light Holo shade of green. |
int |
holo_orange_dark
A dark Holo shade of orange. |
int |
holo_orange_light
A light Holo shade of orange. |
int |
holo_purple
A Holo shade of purple. |
int |
holo_red_dark
A dark Holo shade of red. |
int |
holo_red_light
A light Holo shade of red. |
int |
primary_text_dark
This constant was deprecated in API level 28. Use a text color from your theme instead. |
int |
primary_text_dark_nodisable
This constant was deprecated in API level 28. Use a text color from your theme instead. |
int |
primary_text_light
This constant was deprecated in API level 28. Use a text color from your theme instead. |
int |
primary_text_light_nodisable
This constant was deprecated in API level 28. Use a text color from your theme instead. |
int |
secondary_text_dark
This constant was deprecated in API level 28. Use a text color from your theme instead. |
int |
secondary_text_dark_nodisable
This constant was deprecated in API level 28. Use a text color from your theme instead. |
int |
secondary_text_light
This constant was deprecated in API level 28. Use a text color from your theme instead. |
int |
secondary_text_light_nodisable
This constant was deprecated in API level 28. Use a text color from your theme instead. |
int |
tab_indicator_text
Equivalent to 0xff808080 |
int |
tertiary_text_dark
This constant was deprecated in API level 28. Use a text color from your theme instead. |
int |
tertiary_text_light
This constant was deprecated in API level 28. Use a text color from your theme instead. |
int |
transparent
Fully transparent, equivalent to 0x00000000 |
int |
white
The color white, equivalent to 0xffffffff |
int |
widget_edittext_dark
Equivalent to 0xff000000 |
Fields | |
|---|---|
public
static
final
int |
system_accent1_0
Accent colors, for buttons and UI decorations Lightest shade of the accent color used by the system. |
public
static
final
int |
system_accent1_10
Shade of the accent system color at 99% lightness. |
public
static
final
int |
system_accent1_100
Shade of the accent system color at 90% lightness. |
public
static
final
int |
system_accent1_1000
Darkest shade of the accent color used by the system. |
public
static
final
int |
system_accent1_200
Shade of the accent system color at 80% lightness. |
public
static
final
int |
system_accent1_300
Shade of the accent system color at 70% lightness. |
public
static
final
int |
system_accent1_400
Shade of the accent system color at 60% lightness. |
public
static
final
int |
system_accent1_50
Shade of the accent system color at 95% lightness. |
public
static
final
int |
system_accent1_500
Shade of the accent system color at 49% lightness. |
public
static
final
int |
system_accent1_600
Shade of the accent system color at 40% lightness. |
public
static
final
int |
system_accent1_700
Shade of the accent system color at 30% lightness. |
public
static
final
int |
system_accent1_800
Shade of the accent system color at 20% lightness. |
public
static
final
int |
system_accent1_900
Shade of the accent system color at 10% lightness. |
public
static
final
int |
system_accent2_0
Lightest shade of the secondary accent color used by the system. |
public
static
final
int |
system_accent2_10
Shade of the secondary accent system color at 99% lightness. |
public
static
final
int |
system_accent2_100
Shade of the secondary accent system color at 90% lightness. |
public
static
final
int |
system_accent2_1000
Darkest shade of the secondary accent color used by the system. |
public
static
final
int |
system_accent2_200
Shade of the secondary accent system color at 80% lightness. |
public
static
final
int |
system_accent2_300
Shade of the secondary accent system color at 70% lightness. |
public
static
final
int |
system_accent2_400
Shade of the secondary accent system color at 60% lightness. |
public
static
final
int |
system_accent2_50
Shade of the secondary accent system color at 95% lightness. |
public
static
final
int |
system_accent2_500
Shade of the secondary accent system color at 49% lightness. |
public
static
final
int |
system_accent2_600
Shade of the secondary accent system color at 40% lightness. |
public
static
final
int |
system_accent2_700
Shade of the secondary accent system color at 30% lightness. |
public
static
final
int |
system_accent2_800
Shade of the secondary accent system color at 20% lightness. |
public
static
final
int |
system_accent2_900
Shade of the secondary accent system color at 10% lightness. |
public
static
final
int |
system_accent3_0
Lightest shade of the tertiary accent color used by the system. |
public
static
final
int |
system_accent3_10
Shade of the tertiary accent system color at 99% lightness. |
public
static
final
int |
system_accent3_100
Shade of the tertiary accent system color at 90% lightness. |
public
static
final
int |
system_accent3_1000
Darkest shade of the tertiary accent color used by the system. |
public
static
final
int |
system_accent3_200
Shade of the tertiary accent system color at 80% lightness. |
public
static
final
int |
system_accent3_300
Shade of the tertiary accent system color at 70% lightness. |
public
static
final
int |
system_accent3_400
Shade of the tertiary accent system color at 60% lightness. |
public
static
final
int |
system_accent3_50
Shade of the tertiary accent system color at 95% lightness. |
public
static
final
int |
system_accent3_500
Shade of the tertiary accent system color at 49% lightness. |
public
static
final
int |
system_accent3_600
Shade of the tertiary accent system color at 40% lightness. |
public
static
final
int |
system_accent3_700
Shade of the tertiary accent system color at 30% lightness. |
public
static
final
int |
system_accent3_800
Shade of the tertiary accent system color at 20% lightness. |
public
static
final
int |
system_accent3_900
Shade of the tertiary accent system color at 10% lightness. |
public
static
final
int |
system_neutral1_0
Neutral colors for background and text Lightest shade of the neutral color used by the system. |
public
static
final
int |
system_neutral1_10
Shade of the neutral system color at 99% lightness. |
public
static
final
int |
system_neutral1_100
Shade of the neutral system color at 90% lightness. |
public
static
final
int |
system_neutral1_1000
Darkest shade of the neutral color used by the system. |
public
static
final
int |
system_neutral1_200
Shade of the neutral system color at 80% lightness. |
public
static
final
int |
system_neutral1_300
Shade of the neutral system color at 70% lightness. |
public
static
final
int |
system_neutral1_400
Shade of the neutral system color at 60% lightness. |
public
static
final
int |
system_neutral1_50
Shade of the neutral system color at 95% lightness. |
public
static
final
int |
system_neutral1_500
Shade of the neutral system color at 49% lightness. |
public
static
final
int |
system_neutral1_600
Shade of the neutral system color at 40% lightness. |
public
static
final
int |
system_neutral1_700
Shade of the neutral system color at 30% lightness. |
public
static
final
int |
system_neutral1_800
Shade of the neutral system color at 20% lightness. |
public
static
final
int |
system_neutral1_900
Shade of the neutral system color at 10% lightness. |
public
static
final
int |
system_neutral2_0
Lightest shade of the secondary neutral color used by the system. |
public
static
final
int |
system_neutral2_10
Shade of the secondary neutral system color at 99% lightness. |
public
static
final
int |
system_neutral2_100
Shade of the secondary neutral system color at 90% lightness. |
public
static
final
int |
system_neutral2_1000
Darkest shade of the secondary neutral color used by the system. |
public
static
final
int |
system_neutral2_200
Shade of the secondary neutral system color at 80% lightness. |
public
static
final
int |
system_neutral2_300
Shade of the secondary neutral system color at 70% lightness. |
public
static
final
int |
system_neutral2_400
Shade of the secondary neutral system color at 60% lightness. |
public
static
final
int |
system_neutral2_50
Shade of the secondary neutral system color at 95% lightness. |
public
static
final
int |
system_neutral2_500
Shade of the secondary neutral system color at 49% lightness. |
public
static
final
int |
system_neutral2_600
Shade of the secondary neutral system color at 40% lightness. |
public
static
final
int |
system_neutral2_700
Shade of the secondary neutral system color at 30% lightness. |
public
static
final
int |
system_neutral2_800
Shade of the secondary neutral system color at 20% lightness. |
public
static
final
int |
system_neutral2_900
Shade of the secondary neutral system color at 10% lightness. |
Public constructors | |
|---|---|
color()
|
|
Inherited methods | |
|---|---|
Constants
background_dark
public static final int background_dark
Equivalent to 0xff000000 Equivalent to 0xff000000
Constant Value: 17170446 (0x0106000e)
background_light
public static final int background_light
Equivalent to 0xffffffff Equivalent to 0xffffffff
Constant Value: 17170447 (0x0106000f)
black
public static final int black
The color black, equivalent to 0xff000000
Constant Value: 17170444 (0x0106000c)
darker_gray
public static final int darker_gray
Equivalent to 0xffaaaaaa A dark gray, equivalent to 0xffaaaaaa
Constant Value: 17170432 (0x01060000)
holo_blue_bright
public static final int holo_blue_bright
A really bright Holo shade of blue. Equivalent to #ff00ddff.
Constant Value: 17170459 (0x0106001b)
holo_blue_dark
public static final int holo_blue_dark
A dark Holo shade of blue. Equivalent to #ff0099cc
Constant Value: 17170451 (0x01060013)
holo_blue_light
public static final int holo_blue_light
A light Holo shade of blue. Equivalent to #ff33b5e5.
Constant Value: 17170450 (0x01060012)
holo_green_dark
public static final int holo_green_dark
A dark Holo shade of green. Equivalent to #ff669900
Constant Value: 17170453 (0x01060015)
holo_green_light
public static final int holo_green_light
A light Holo shade of green. Equivalent to #ff99cc00.
Constant Value: 17170452 (0x01060014)
holo_orange_dark
public static final int holo_orange_dark
A dark Holo shade of orange. Equivalent to ffff8800.
Constant Value: 17170457 (0x01060019)
holo_orange_light
public static final int holo_orange_light
A light Holo shade of orange. Equivalent to #ffffbb33.
Constant Value: 17170456 (0x01060018)
holo_purple
public static final int holo_purple
A Holo shade of purple. Equivalent to #ffaa66cc
Constant Value: 17170458 (0x0106001a)
holo_red_dark
public static final int holo_red_dark
A dark Holo shade of red. Equivalent to #ffcc0000
Constant Value: 17170455 (0x01060017)
holo_red_light
public static final int holo_red_light
A light Holo shade of red. Equivalent to #ffff4444. <
Constant Value: 17170454 (0x01060016)
primary_text_dark
public static final int primary_text_dark
This constant was deprecated
in API level 28.
Use a text color from your theme instead.
Constant Value: 17170433 (0x01060001)
primary_text_dark_nodisable
public static final int primary_text_dark_nodisable
This constant was deprecated
in API level 28.
Use a text color from your theme instead.
Constant Value: 17170434 (0x01060002)
primary_text_light
public static final int primary_text_light
This constant was deprecated
in API level 28.
Use a text color from your theme instead.
Constant Value: 17170435 (0x01060003)
primary_text_light_nodisable
public static final int primary_text_light_nodisable
This constant was deprecated
in API level 28.
Use a text color from your theme instead.
Constant Value: 17170436 (0x01060004)
secondary_text_dark
public static final int secondary_text_dark
This constant was deprecated
in API level 28.
Use a text color from your theme instead.
Constant Value: 17170437 (0x01060005)
secondary_text_dark_nodisable
public static final int secondary_text_dark_nodisable
This constant was deprecated
in API level 28.
Use a text color from your theme instead.
Constant Value: 17170438 (0x01060006)
secondary_text_light
public static final int secondary_text_light
This constant was deprecated
in API level 28.
Use a text color from your theme instead.
Constant Value: 17170439 (0x01060007)
secondary_text_light_nodisable
public static final int secondary_text_light_nodisable
This constant was deprecated
in API level 28.
Use a text color from your theme instead.
Constant Value: 17170440 (0x01060008)
tab_indicator_text
public static final int tab_indicator_text
Equivalent to 0xff808080
Constant Value: 17170441 (0x01060009)
tertiary_text_dark
public static final int tertiary_text_dark
This constant was deprecated
in API level 28.
Use a text color from your theme instead.
Constant Value: 17170448 (0x01060010)
tertiary_text_light
public static final int tertiary_text_light
This constant was deprecated
in API level 28.
Use a text color from your theme instead.
Constant Value: 17170449 (0x01060011)
transparent
public static final int transparent
Fully transparent, equivalent to 0x00000000
Constant Value: 17170445 (0x0106000d)
white
public static final int white
The color white, equivalent to 0xffffffff
Constant Value: 17170443 (0x0106000b)
widget_edittext_dark
public static final int widget_edittext_dark
Equivalent to 0xff000000
Constant Value: 17170442 (0x0106000a)
Fields
system_accent1_0
public static final int system_accent1_0
Accent colors, for buttons and UI decorations Lightest shade of the accent color used by the system. White. This value can be overlaid at runtime by OverlayManager RROs.
system_accent1_10
public static final int system_accent1_10
Shade of the accent system color at 99% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent1_100
public static final int system_accent1_100
Shade of the accent system color at 90% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent1_1000
public static final int system_accent1_1000
Darkest shade of the accent color used by the system. Black. This value can be overlaid at runtime by OverlayManager RROs.
system_accent1_200
public static final int system_accent1_200
Shade of the accent system color at 80% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent1_300
public static final int system_accent1_300
Shade of the accent system color at 70% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent1_400
public static final int system_accent1_400
Shade of the accent system color at 60% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent1_50
public static final int system_accent1_50
Shade of the accent system color at 95% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent1_500
public static final int system_accent1_500
Shade of the accent system color at 49% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent1_600
public static final int system_accent1_600
Shade of the accent system color at 40% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent1_700
public static final int system_accent1_700
Shade of the accent system color at 30% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent1_800
public static final int system_accent1_800
Shade of the accent system color at 20% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent1_900
public static final int system_accent1_900
Shade of the accent system color at 10% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent2_0
public static final int system_accent2_0
Lightest shade of the secondary accent color used by the system. White. This value can be overlaid at runtime by OverlayManager RROs.
system_accent2_10
public static final int system_accent2_10
Shade of the secondary accent system color at 99% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent2_100
public static final int system_accent2_100
Shade of the secondary accent system color at 90% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent2_1000
public static final int system_accent2_1000
Darkest shade of the secondary accent color used by the system. Black. This value can be overlaid at runtime by OverlayManager RROs.
system_accent2_200
public static final int system_accent2_200
Shade of the secondary accent system color at 80% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent2_300
public static final int system_accent2_300
Shade of the secondary accent system color at 70% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent2_400
public static final int system_accent2_400
Shade of the secondary accent system color at 60% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent2_50
public static final int system_accent2_50
Shade of the secondary accent system color at 95% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent2_500
public static final int system_accent2_500
Shade of the secondary accent system color at 49% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent2_600
public static final int system_accent2_600
Shade of the secondary accent system color at 40% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent2_700
public static final int system_accent2_700
Shade of the secondary accent system color at 30% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent2_800
public static final int system_accent2_800
Shade of the secondary accent system color at 20% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent2_900
public static final int system_accent2_900
Shade of the secondary accent system color at 10% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent3_0
public static final int system_accent3_0
Lightest shade of the tertiary accent color used by the system. White. This value can be overlaid at runtime by OverlayManager RROs.
system_accent3_10
public static final int system_accent3_10
Shade of the tertiary accent system color at 99% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent3_100
public static final int system_accent3_100
Shade of the tertiary accent system color at 90% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent3_1000
public static final int system_accent3_1000
Darkest shade of the tertiary accent color used by the system. Black. This value can be overlaid at runtime by OverlayManager RROs.
system_accent3_200
public static final int system_accent3_200
Shade of the tertiary accent system color at 80% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent3_300
public static final int system_accent3_300
Shade of the tertiary accent system color at 70% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent3_400
public static final int system_accent3_400
Shade of the tertiary accent system color at 60% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent3_50
public static final int system_accent3_50
Shade of the tertiary accent system color at 95% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent3_500
public static final int system_accent3_500
Shade of the tertiary accent system color at 49% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent3_600
public static final int system_accent3_600
Shade of the tertiary accent system color at 40% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent3_700
public static final int system_accent3_700
Shade of the tertiary accent system color at 30% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent3_800
public static final int system_accent3_800
Shade of the tertiary accent system color at 20% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_accent3_900
public static final int system_accent3_900
Shade of the tertiary accent system color at 10% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral1_0
public static final int system_neutral1_0
Neutral colors for background and text Lightest shade of the neutral color used by the system. White. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral1_10
public static final int system_neutral1_10
Shade of the neutral system color at 99% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral1_100
public static final int system_neutral1_100
Shade of the neutral system color at 90% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral1_1000
public static final int system_neutral1_1000
Darkest shade of the neutral color used by the system. Black. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral1_200
public static final int system_neutral1_200
Shade of the neutral system color at 80% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral1_300
public static final int system_neutral1_300
Shade of the neutral system color at 70% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral1_400
public static final int system_neutral1_400
Shade of the neutral system color at 60% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral1_50
public static final int system_neutral1_50
Shade of the neutral system color at 95% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral1_500
public static final int system_neutral1_500
Shade of the neutral system color at 49% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral1_600
public static final int system_neutral1_600
Shade of the neutral system color at 40% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral1_700
public static final int system_neutral1_700
Shade of the neutral system color at 30% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral1_800
public static final int system_neutral1_800
Shade of the neutral system color at 20% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral1_900
public static final int system_neutral1_900
Shade of the neutral system color at 10% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral2_0
public static final int system_neutral2_0
Lightest shade of the secondary neutral color used by the system. White. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral2_10
public static final int system_neutral2_10
Shade of the secondary neutral system color at 99% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral2_100
public static final int system_neutral2_100
Shade of the secondary neutral system color at 90% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral2_1000
public static final int system_neutral2_1000
Darkest shade of the secondary neutral color used by the system. Black. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral2_200
public static final int system_neutral2_200
Shade of the secondary neutral system color at 80% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral2_300
public static final int system_neutral2_300
Shade of the secondary neutral system color at 70% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral2_400
public static final int system_neutral2_400
Shade of the secondary neutral system color at 60% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral2_50
public static final int system_neutral2_50
Shade of the secondary neutral system color at 95% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral2_500
public static final int system_neutral2_500
Shade of the secondary neutral system color at 49% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral2_600
public static final int system_neutral2_600
Shade of the secondary neutral system color at 40% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral2_700
public static final int system_neutral2_700
Shade of the secondary neutral system color at 30% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral2_800
public static final int system_neutral2_800
Shade of the secondary neutral system color at 20% lightness. This value can be overlaid at runtime by OverlayManager RROs.
system_neutral2_900
public static final int system_neutral2_900
Shade of the secondary neutral system color at 10% lightness. This value can be overlaid at runtime by OverlayManager RROs.
Public constructors
color
public color ()