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?
Sry for bad english.
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.
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.
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.
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)
https://material.google.com/style/color.html#color-themes link describes all of your question. Also you can see more notes about material design.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With