Often the artist has some focal point that contrasts with the background colors.
Color in the mat.
Using the dominant colors in the art.
For example if a blue button was desired but blue was not either the primary or accent color defined in your material theme a class can be created to be used alongside primary or accent.
If you choose this method the eye of the viewer will be drawn to the art.
In general using the dominant colors of the art in the mat draws the eye to the art rather than to the framing.
The intensities must be in the range 0 1.
As long as the mat color is borrowed from one of the secondary or tertiary colors in the artwork a color mat can work well.
The rgb triplet is a three element row vector whose elements specify the intensities of the red green and blue components of the color.
If the piece has a focal point and there are background colors you can.
If you mat with those background colors the artist s intended focal point will still draw the eye to it.
I m using angular 9 and less in my project and i have a mat menu panel where my mat menu item is on that panel i can change the color of my mat menu item a follows.
The short names and long names are character vectors that specify one of eight predefined colors.
Choosing a mat color based on dominant colors.
A very common way to choose a mat color for your portrait or piece of art is to choose one that will help bring out the dominant color of the piece.