Closed throrin19 closed 9 years ago
Hi, it's possible to add function getContrast to show contrast color like less :
getContrast
Example
p { a: contrast(#bbbbbb); b: contrast(#222222, #101010); c: contrast(#222222, #101010, #dddddd); d: contrast(hsl(90, 100%, 50%), #000000, #ffffff, 30%); e: contrast(hsl(90, 100%, 50%), #000000, #ffffff, 80%); }
Output
p { a: #000000 // black b: #ffffff // white c: #dddddd d: #000000 // black e: #ffffff // white }
sorry, i can't see the mostreadable function
Hi, it's possible to add function
getContrast
to show contrast color like less :Example
Output