diff --git a/src/fn_colors.cpp b/src/fn_colors.cpp index 642e9d4f4..6bbc97ef6 100644 --- a/src/fn_colors.cpp +++ b/src/fn_colors.cpp @@ -170,7 +170,7 @@ namespace Sass { double s; double l = (max + min) / 2.0; - if (max == min) { + if (NEAR_EQUAL(max, min)) { h = s = 0; // achromatic } else {