Sha256: f2aff499ed38ce12bde6fba9d3fe4caebdcce02f44c09709a1b780e1d80f8b0d
Contents?: true
Size: 466 Bytes
Versions: 9
Compression:
Stored size: 466 Bytes
Contents
@charset "UTF-8"; /// Performs gamma correction on a single color channel. /// /// Note that Sass does not have a `pow()` function, so the calculation /// is approximate. /// /// @argument {number (0-1)} $channel /// /// @return {number (0-1)} /// /// @access private @function _gamma($channel) { @if $channel < 0.03928 { @return $channel / 12.92; } @else { $c: ($channel + 0.055) / 1.055; @return (133 * $c * $c * $c + 155 * $c * $c) / 288; } }
Version data entries
9 entries across 9 versions & 3 rubygems