Added OKLCH color space
This commit is contained in:
14
README.md
14
README.md
@ -4,7 +4,9 @@ Adds color to your terminal output.
|
||||
|
||||
## Features
|
||||
|
||||
- Truecolor output
|
||||
- RGB color space
|
||||
- OKLCH color space
|
||||
- Truecolor terminal output
|
||||
|
||||
## Installation
|
||||
|
||||
@ -22,15 +24,19 @@ red.Println("red text")
|
||||
## Tests
|
||||
|
||||
```
|
||||
PASS: TestColor
|
||||
PASS: TestNoColors
|
||||
PASS: TestColors
|
||||
PASS: TestRainbow
|
||||
coverage: 100.0% of statements
|
||||
```
|
||||
|
||||
## Benchmarks
|
||||
|
||||
```
|
||||
BenchmarkRGB-12 1000000000 0.3139 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkFprint-12 25758495 45.38 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkRGB-12 1000000000 0.3132 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkLCH-12 11214220 107.1 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkFprintColorized-12 6356535 188.4 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkFprintRaw-12 27374659 43.76 ns/op 0 B/op 0 allocs/op
|
||||
```
|
||||
|
||||
## License
|
||||
|
Reference in New Issue
Block a user