This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Declare the color as RGB; SASS will treat this as hex | |
$green: rgb(27,224,63); | |
// Declare an alpha | |
$alpha: .5; | |
// Declare another color variable as a color with an alpha | |
$greenAlpha: rgba($green, $alpha); | |
body { | |
/* As RGB (which SASS actually ouputs as HEX) */ | |
background: $green; |