谷歌Material Design & Color
Material Design is a design language developed by Google which was announced on June 25, 2014 at Google I/O. It can be used in both android and web apps.
You can read the documents by accessing the following address:material design document by Google.
Color in material design is inspired by bold hues juxtaposed with muted environments, deep shadows, and bright highlights. Material takes cues from contemporary architecture, road signs, pavement marking tape, and athletic courts. Color should be unexpected and vibrant.
Material Design uses 19 plaettes to restrict the use of colors.The color palette starts with primary colors and fills in the spectrum to create a complete and usable palette for Android, Web, and iOS. Google suggests using the 500 colors as the primary colors in our app and the other colors as accents colors. The picture below here is all the colors that we can use in our design. Download the color swatches for Photoshop and Illustrator from: color swatches.
We can define our app's color palatte by using a custom palette suited to our brand. Alternatively, we may use the material design color palette. All color palettes should include sufficient contrast between different UI elements.
> How to use material design color palette if we don't have our own color palette?
1. First, there are several concepts here.
Primary color: The main color of our app. This color should be the most widely used across all screens and components.
Secondary color: The secondary color may be a darker or lighter variation of the primary color. Palettes with a secondary color may use this color to indicate a related action or information.
Accent color: The accent color should be used for the floating button and interactive elements, such as:Text fields and cursors, Text selection, Progress bars, Selection controls, Buttons, Sliders and Links.
2.Limit our selection of colors to three hues from the primary palette and one accent color from the secondary palette.
> The choices of accent color
1. Darker shades and lighter tints: If our accent color is too light or dark to sufficiently contrast with the background color, use a darker shade or lighter tint of the accent color instead.
2. Primary color variations: Another alternative accent color is the 500 version of our primary color on white backgrounds. However, if our background color is already the 500 version of our primary color, make our accent color either white 100% or black 54%.
> Text and background colors
1. Text Opacity & Use opacity instead of grey
Text may be displayed with different degrees of opacity to convey how important certain information is relative to other information. The level of opacity used for text depends on whether your background is darker or lighter.
Black or white text that is transparent remains legible and vibrant against background color changes. This makes it more flexible than grey text in the same contexts.
2. Dark text on light backgrounds
White text on dark backgrounds
3. Icons, dividers and other elements
Elements like icons and dividers benefit from having a hex value of black or white (rather than a specific color) so that they work on backgrounds of any color.
1. Customize the theme using theme attributes when we inherit from the material theme:
<!-- inherit from the material theme -->
<style name="AppTheme" parent="android:Theme.Material">
<!-- Main theme colors -->
<!-- your app branding color for the app bar -->
<!-- darker variant for the status bar and contextual app bars -->
<!-- theme UI controls like checkboxes and text fields -->
ЖК Афродита-2 в Московской области жк афродита 2 мытищи жк афродита мытищи цена. Недалеко расположена знаменитая мытищинская ледовая арена