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 {
|
HSBKColor struct {
|
||||||
H float32 `json:"hue,omitempty"`
|
H float32 `json:"hue"`
|
||||||
S float32 `json:"saturation,omitempty"`
|
S float32 `json:"saturation"`
|
||||||
B float32 `json:"brightness,omitempty"`
|
B float32 `json:"brightness"`
|
||||||
K int16 `json:"kelvin,omitempty"`
|
K int16 `json:"kelvin"`
|
||||||
}
|
}
|
||||||
|
|
||||||
NamedColor string
|
NamedColor string
|
||||||
|
Loading…
Reference in New Issue
Block a user