@@ -28,6 +28,7 @@ Now, 256 colors and RGB colors have also been supported to work in Windows CMD a
28
28
- 16-color output is the most commonly used and most widely supported, working on any Windows version
29
29
- Since ` v1.2.4 ` ** the 256-color (8-bit), true color (24-bit) support windows CMD and PowerShell**
30
30
- See [ this gist] ( https://gist.github.com/XVilka/8346728 ) for information on true color support
31
+ - Support converts ` HEX ` ` HSL ` value to RGB color
31
32
- Generic API methods: ` Print ` , ` Printf ` , ` Println ` , ` Sprint ` , ` Sprintf `
32
33
- Supports HTML tag-style color rendering, such as ` <green>message</> ` .
33
34
- In addition to using built-in tags, it also supports custom color attributes
@@ -417,14 +418,12 @@ rgb.Println("rgb color")
417
418
rgb.C256 ().Println (" 256 color" )
418
419
```
419
420
420
- ** More converts functions** :
421
-
422
- convert to rgb:
421
+ ** More functions for convert to ` RGBColor ` ** :
423
422
424
423
- ` func RGBFromSlice(rgb []uint8, isBg ...bool) RGBColor `
425
424
- ` func RGBFromString(rgb string, isBg ...bool) RGBColor `
426
425
- ` 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 `
428
427
- ` func HSLInt(h, s, l int, isBg ...bool) RGBColor `
429
428
430
429
## Func refer
0 commit comments