How to add a custom color to material-ui component?

Viewed 4797

In some material-ui components, we have a prop called color. We can pass 'default', 'inherit', 'primary', 'accent', 'contrast' to it. But can we pass a custom color to it? For example, I need to style a button in red. How can I do it if it's not my primary or accent color?

1 Answers
Related