Skip to content

Commit

Permalink
docs: autoupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinJWendt committed Jul 13, 2024
1 parent f3416d2 commit 71398d0
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,12 @@ func main() {
- [func \(c ANSIColor\) Sequence\(background bool\) string](<#ANSIColor.Sequence>)
- [type Color](<#Color>)
- [func NewColorFromHex\(hex string\) Color](<#NewColorFromHex>)
- [func NewColorFromRGB\(r, g, b uint8\) Color](<#NewColorFromRGB>)
- [type Mode](<#Mode>)
- [func \(m Mode\) String\(\) string](<#Mode.String>)
- [type Modifier](<#Modifier>)
- [func \(m Modifier\) Sequence\(\) string](<#Modifier.Sequence>)
- [type RGBColor](<#RGBColor>)
- [func NewColorFromRGB\(r, g, b uint8\) RGBColor](<#NewColorFromRGB>)
- [func \(c RGBColor\) Hex\(\) string](<#RGBColor.Hex>)
- [func \(c RGBColor\) Sequence\(background bool\) string](<#RGBColor.Sequence>)
- [type Style](<#Style>)
Expand Down Expand Up @@ -278,6 +278,15 @@ func NewColorFromHex(hex string) Color

NewColorFromHex creates a new Color from a hex string. If the hex string is invalid, NoColor is returned.

<a name="NewColorFromRGB"></a>
### func [NewColorFromRGB](<https://github.com/atomicgo/color/blob/main/color-rgb.go#L20>)

```go
func NewColorFromRGB(r, g, b uint8) Color
```

NewColorFromRGB creates a new Color from RGB values.

<a name="Mode"></a>
## type [Mode](<https://github.com/atomicgo/color/blob/main/mode.go#L4>)

Expand Down Expand Up @@ -348,15 +357,6 @@ type RGBColor struct {
}
```

<a name="NewColorFromRGB"></a>
### func [NewColorFromRGB](<https://github.com/atomicgo/color/blob/main/color-rgb.go#L20>)

```go
func NewColorFromRGB(r, g, b uint8) RGBColor
```

NewColorFromRGB creates a new RGBColor.

<a name="RGBColor.Hex"></a>
### func \(RGBColor\) [Hex](<https://github.com/atomicgo/color/blob/main/color-rgb.go#L15>)

Expand Down

0 comments on commit 71398d0

Please sign in to comment.