zero is valid

This commit is contained in:
Ryan Cavicchioni 2020-03-05 20:20:16 -06:00
parent 35a5b99bf4
commit 2da20d6ec7
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

View File

@ -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