MCPcopy
hub / github.com/creativetimofficial/material-dashboard-react / rgba

Function rgba

src/assets/theme/functions/rgba.js:24–26  ·  view source on GitHub ↗
(color, opacity)

Source from the content-addressed store, hash-verified

22import hexToRgb from "assets/theme/functions/hexToRgb";
23
24function rgba(color, opacity) {
25 return `rgba(${hexToRgb(color)}, ${opacity})`;
26}
27
28export default rgba;

Callers 15

boxShadowFunction · 0.70
gradientChartLineFunction · 0.70
outliedStylesFunction · 0.50
index.jsFile · 0.50
index.jsFile · 0.50
index.jsFile · 0.50
divider.jsFile · 0.50
flatpickr.jsFile · 0.50
index.jsFile · 0.50
stepLabel.jsFile · 0.50
index.jsFile · 0.50
collapseItemFunction · 0.50

Calls 1

hexToRgbFunction · 0.70

Tested by

no test coverage detected