@@ -28,6 +28,7 @@ Now, 256 colors and RGB colors have also been supported to work in Windows CMD a
2828 - 16-color output is the most commonly used and most widely supported, working on any Windows version
2929 - Since ` v1.2.4 ` ** the 256-color (8-bit), true color (24-bit) support windows CMD and PowerShell**
3030 - See [ this gist] ( https://gist.github.com/XVilka/8346728 ) for information on true color support
31+ - Support converts ` HEX ` ` HSL ` value to RGB color
3132 - Generic API methods: ` Print ` , ` Printf ` , ` Println ` , ` Sprint ` , ` Sprintf `
3233 - Supports HTML tag-style color rendering, such as ` <green>message</> ` .
3334 - In addition to using built-in tags, it also supports custom color attributes
@@ -417,14 +418,12 @@ rgb.Println("rgb color")
417418rgb.C256 ().Println (" 256 color" )
418419```
419420
420- ** More converts functions** :
421-
422- convert to rgb:
421+ ** More functions for convert to ` RGBColor ` ** :
423422
424423- ` func RGBFromSlice(rgb []uint8, isBg ...bool) RGBColor `
425424- ` func RGBFromString(rgb string, isBg ...bool) RGBColor `
426425- ` func HEX(hex string, isBg ...bool) RGBColor `
427- - ` func HSL(h, s, l float32 , isBg ...bool) RGBColor `
426+ - ` func HSL(h, s, l float64 , isBg ...bool) RGBColor `
428427- ` func HSLInt(h, s, l int, isBg ...bool) RGBColor `
429428
430429## Func refer
0 commit comments