From 2da20d6ec71e567cd375e27f5731f58f5366d030 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Thu, 5 Mar 2020 20:20:16 -0600 Subject: [PATCH] zero is valid --- color.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/color.go b/color.go index 71d5e70..d394801 100644 --- a/color.go +++ b/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