mirror of https://github.com/gdamore/tcell.git
Update color.go
This commit is contained in:
parent
61f49ebde1
commit
08c7757cd1
2
color.go
2
color.go
|
@ -1036,7 +1036,7 @@ func (c Color) Name(css ...bool) string {
|
|||
}
|
||||
|
||||
// Hex returns the color's hexadecimal RGB 24-bit value with each component
|
||||
// consisting of a single byte, ala R << 16 | G << 8 | B. If the color
|
||||
// consisting of a single byte, R << 16 | G << 8 | B. If the color
|
||||
// is unknown or unset, -1 is returned.
|
||||
func (c Color) Hex() int32 {
|
||||
if !c.Valid() {
|
||||
|
|
Loading…
Reference in New Issue