zero is valid
This commit is contained in:
parent
35a5b99bf4
commit
2da20d6ec7
8
color.go
8
color.go
@ -17,10 +17,10 @@ type (
|
||||
}
|
||||
|
||||
HSBKColor struct {
|
||||
H float32 `json:"hue,omitempty"`
|
||||
S float32 `json:"saturation,omitempty"`
|
||||
B float32 `json:"brightness,omitempty"`
|
||||
K int16 `json:"kelvin,omitempty"`
|
||||
H float32 `json:"hue"`
|
||||
S float32 `json:"saturation"`
|
||||
B float32 `json:"brightness"`
|
||||
K int16 `json:"kelvin"`
|
||||
}
|
||||
|
||||
NamedColor string
|
||||
|
Loading…
Reference in New Issue
Block a user