PHP Classes

File: public/asset/vendor/select2/docs/themes/learn2/scss/vendor/color-schemer/color-schemer/_color-adjustments.scss

Recommend this page to a friend!
  Classes of fathurrahman   mnTemplate   public/asset/vendor/select2/docs/themes/learn2/scss/vendor/color-schemer/color-schemer/_color-adjustments.scss   Download  
File: public/asset/vendor/select2/docs/themes/learn2/scss/vendor/color-schemer/color-schemer/_color-adjustments.scss
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: mnTemplate
Route HTTP requests to callback functions
Author: By
Last change:
Date: 1 year ago
Size: 830 bytes
 

Contents

Class file image Download
// RGB functions @function set-red($color, $red) { @return rgba($red, green($color), blue($color), alpha($color)); } @function set-green($color, $green) { @return rgba(red($color), $green, blue($color), alpha($color)); } @function set-blue($color, $blue) { @return rgba(red($color), green($color), $blue, alpha($color)); } // HSL Functions @function set-hue($color, $hue) { @return hsla($hue, saturation($color), lightness($color), alpha($color)); } @function set-saturation($color, $saturation) { @return hsla(hue($color), $saturation, lightness($color), alpha($color)); } @function set-lightness($color, $lightness) { @return hsla(hue($color), saturation($color), $lightness, alpha($color)); } @function set-alpha($color, $alpha) { @return hsla(hue($color), saturation($color), lightness($color), $alpha); }