contrast-color()

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MyrinNew
    Senior Member
    • Feb 2024
    • 5175

    #1

    contrast-color()

    The contrast-color() function takes a <color> and returns either black or white, whichever is the most contrasting color for that value.



    contrast-color() originally handwritten and published with love on CSS-Tricks. You should really get the newsletter as well.



    More...
Working...