Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Material default colors

Tags:

I want to have colors for specific card states. I want to be able to reset it to its default.

Where can I find the default material colors from Android? Especally of the Android CardView.

Thanks for help.

Edit:

The Cards have an backgroundcolor (not the images) which is not white. Which color is this? Or is there any method to reset the Backgroundcolor of View-Elements?

Sample of Cards

Sry for bad english.

like image 470
R00st3r Avatar asked Dec 31 '14 14:12

R00st3r


People also ask

What is primary brand color in android?

The primary color is the color displayed most frequently across your app's screens and components. The primary variant color is used to distinguish two elements of the app using the primary color, such as the top app bar and the system bar. The secondary color provides more ways to accent and distinguish your product.

What is primary color in material UI?

Palette colors primary - used to represent primary interface elements for a user. It's the color displayed most frequently across your app's screens and components. secondary - used to represent secondary interface elements for a user. It provides more ways to accent and distinguish your product.

What is primary secondary and accent colors?

A secondary color can be featured with a primary color as an accent color. The primary color is still the dominant color but the secondary color is used in combination to draw attention.


2 Answers

Finally, I found the solution: #fafafa

It's the Background colour that Google used on the website hakkikonu posted.

Edit:

Maybe it changed over time. Updated answer (thanks to arts777)

like image 124
R00st3r Avatar answered Sep 19 '22 15:09

R00st3r


https://material.google.com/style/color.html#color-themes link describes all of your question. Also you can see more notes about material design.

like image 35
hakkikonu Avatar answered Sep 21 '22 15:09

hakkikonu