Sass ie-hex-str() Function

Last Updated:

Sass ie-hex-str() Function

The ie-hex-str() function returns an unquoted string that represents a given color in the #AARRGGBB format expected by Internet Explorer's -ms-filter property.

Example

SASS TO CSS CONVERTER
//Check your console @debug ie-hex-str(#b37399); // #FFB37399 @debug ie-hex-str(#808c99); // #FF808C99 @debug ie-hex-str(rgba(242, 236, 228, 0.6)); // #99F2ECE4

Syntax

ie-hex-str($color)

Parameter Value

ValueTypeExplanation
$color Required Specifies a color.

Return Value

ValueExplanation
string Returns an unquoted string that represents $color in the #AARRGGBB format expected by Internet Explorer’s -ms-filter property.

Share this Page

Meet the Author