google / ansicolor-dart

Apache License 2.0
104 stars 26 forks source link

Documentation Error (Example in README Doesn't Work) #25

Closed GZGavinZhao closed 1 year ago

GZGavinZhao commented 3 years ago

Small error, but perhaps could cause a great amount of bewildering for beginners:

In the example with a background as a peach, foreground as white, rgb(r: 1.0, g: 0.8, b: 0.2) should be rgb(r: 1.0, g: 0.8, b: 0.2, bg = true), otherwise it will be recognized as a foreground color.

mateusfccp commented 1 year ago

Can this be closed?