IE 11 issue: *Material-UI: unsupported `` color. We support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla().*
See original GitHub issue- [ x] The issue is present in the latest release.
- [ x] I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior π―
Debugging the Material UI code on my IE 11 (from Virtual Machine), I got that inside the function hexToRgb, the code let colors = color.match(re); return null:
The following screenshot has the locals variables:

Expected Behavior π€
The color.match should return an array with the matches
Your Environment π
Internet Explorer 11
| Tech | Version |
|---|---|
| Material-UI | v4.5.1 |
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
IE 11 issue: *Material-UI: unsupported `` color. We support the ...
IE 11 issue : *Material-UI: unsupported `` color. We support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla().* #18005.
Read more >jss how to change opacity for a color - Stack Overflow
I would like to know if exist a function to add opacity based on color theme.colors.red . example smt like: backgroundColor: color(theme.colors.
Read more >https://unpkg.com/material-ui@1.0.0-beta.43/styles...
@param {string} color - Hex color, i.e. #nnn or #nnnnnn * @returns ... 'We support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(),...
Read more >youtube-danmaku - Source code - Greasy Fork
Note: Does not support rgb % values. * * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(),...
Read more >Design Patterns with React Easy State | by Bertalan Miklos
React Easy State is a transparent reactive state management library with two functions and two accompanying rules. Always wrap your components with view()...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@oliviertassinari not sure if exactly the same issue but in a typescript project I ran into having a theme like
Steps to reproduce:
theme.palette.background.default = "white"Material-UI: unsupported 'white' color.Try out sandbox here: https://codesandbox.io/s/material-ui-unsupported-color-t6iof
π thanks for sharing!