This plugin has the following color functions:
rgb
- returns the 6 characters lowercase hexadecimal of R, G, B.'#' + rgb(50, 30, 10)
'#' + rgb([255, 255, 0])
rgba
- returns the 8 characters lowercase hexadecimal of R, G, B, A.'#' + rgb(50, 30, 10, 0.1)
'#' + rgb([255, 255, 0, 0.3])
hsl
- returns the 6 characters lowercase hexadecimal of H, S, L.'#' + hsl(0.5, 0.2, 0.6)
'#' + hsl([0.5, 0.2, 0.6])
hsla
- returns the 8 characters lowercase hexadecimal of H, S, L, A.'#' + hsl(0.5, 0.2, 0.6, 0.1)
'#' + hsl([0.5, 0.2, 0.6, 0.3])
hsl2Rgb
- returns a numerical array representing [R, G, B].hsl2Rgb(0.5, 0.2, 0.6)
hsl2Rgb([0.5, 0.2, 0.6])
rgb2Hsl
- returns a numerical array representing [H, S, L].hsl2Rgb(50, 30, 10)
hsl2Rgb([50, 30, 10])