Documentation
¶
Overview ¶
Package appearance provides value objects related to appearance information.
Index ¶
- type Color
- func (c Color) Equals(other Color) bool
- func (c Color) Invert() (Color, error)
- func (c Color) IsDark() (bool, error)
- func (c Color) IsEmpty() bool
- func (c Color) RGB() (r, g, b int, err error)
- func (c Color) String() string
- func (c Color) Validate() error
- func (c Color) WithAlpha(alpha int) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Color ¶
type Color string
Color represents a color value object in hexadecimal format (#RRGGBB)
Click to show internal directories.
Click to hide internal directories.