We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ea7e07 commit 217ba92Copy full SHA for 217ba92
lib/sass/value/color/space/utils.rb
@@ -37,7 +37,7 @@ module Utils
37
# @return [Numeric]
38
def srgb_and_display_p3_to_linear(channel)
39
abs = channel.abs
40
- abs < 0.04045 ? channel / 12.92 : (channel <=> 0) * (((abs + 0.055) / 1.055)**2.4)
+ abs <= 0.04045 ? channel / 12.92 : (channel <=> 0) * (((abs + 0.055) / 1.055)**2.4)
41
end
42
43
# The algorithm for converting a single `srgb` or `display-p3` channel to
0 commit comments