Last active
December 9, 2021 11:21
-
-
Save fkaminski/fe67cbaf132d7a147032029e64ec9a78 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
@function hsl-str($color) { | |
@return unquote("hsl(#{hue($color)/1deg}, #{saturation($color)}, #{lightness($color)})"); | |
} | |
.demo { | |
color: hsl-str(#ffcc99); | |
} |
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
.demo { | |
color: hsl(30, 100%, 80%); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment