Topics

contrast modifier

The contrast modifier returns an appropriate contrasting text color for the hex background color being passed.  The optional parameters are" dark color to use (default is black/#000000), light color to use (the default is white/#FFFFFF, and use 'YIQ' calculation method.

{#124563|contrast:"#001111':"#fe7899":true}
Loading Help