Hi
I have added in RGB color in less files but its not working and got this error.
main.CRITICAL: error evaluating function `rgba` color functions take numbers as parameters index: 14028 {"exception":"[object] (Magento\\Framework\\View\\Asset\\ContentProcessorException(code: 0): error evaluating function `rgba` color functions take numbers as parameters index: 14028 at
Can any one help me
Solved! Go to Solution.
Have you tried the following method?
@baseColor: #d24d36;
body {
color: rgba(red(@baseColor), green(@baseColor), blue(@baseColor), 1);
}
Check rgba to hexa code here
Have you tried the following method?
@baseColor: #d24d36;
body {
color: rgba(red(@baseColor), green(@baseColor), blue(@baseColor), 1);
}
Check rgba to hexa code here
Thanks for help can you please tell me how can I add
box-shadow: 0 0 3px rgb(0 0 0 / 30%);
Thanx Sanjay!
You are awesome