Skip to content

Commit

Permalink
fix comments error
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Dec 3, 2020
1 parent c489f16 commit 9991762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion color_rgb.go
Expand Up @@ -172,7 +172,7 @@ func (c RGBColor) C256() Color256 {
return C256(Rgb2short(c[0], c[1], c[2]), c[3] == AsBg)
}

// C16 returns the closest approximate 256 (8 bit) color
// C16 returns the closest approximate 16 (4 bit) color
func (c RGBColor) C16() Color {
return Color(RgbToAnsi(c[0], c[1], c[2], c[3] == AsBg))
}
Expand Down

0 comments on commit 9991762

Please sign in to comment.