Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RGB ¶
type RGB int
RGB is a alias for 32bit color interger
func MustParseRGB ¶
MustParseRGB is like ParseRGB but panic if an error occurrs
func (RGB) MarshalJSON ¶
MarshalJSON implements json.Marshaler#MarshalJSON()
func (RGB) ToHexString ¶
ToHexString to get the hex string expression for the color
func (*RGB) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler#UnmarshalJSON()
Click to show internal directories.
Click to hide internal directories.