We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 254c63f commit d1c276aCopy full SHA for d1c276a
convert.go
@@ -607,3 +607,13 @@ func C256ToRgbV1(val uint8) (rgb []uint8) {
607
608
return []uint8{r, g, b}
609
}
610
+
611
+/**************************************************************
612
+ * hsl color <=> RGB/True color
613
+ ************************************************************
614
+ * refers
615
+ * https://stackoverflow.com/questions/2353211/hsl-to-rgb-color-conversion
616
+ * https://github.com/less/less.js/blob/master/packages/less/src/less/functions/color.js
617
+ * https://github.com/d3/d3-color/blob/v3.0.1/README.md#hsl
618
+ */
619
0 commit comments