Skip to content

Commit

Permalink
Update changelog for #42
Browse files Browse the repository at this point in the history
  • Loading branch information
makew0rld committed Jan 27, 2021
1 parent 9be4ace commit 3a397c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ but only releases after v1.0.3 properly adhere to it.

## [Unreleased]
### Added
- HSLuv and HPLuv color spaces
- CIE LCh(uv) color space, called `LuvLCh` in code
- HSLuv and HPLuv color spaces (#41, #51)
- CIE LCh(uv) color space, called `LuvLCh` in code (#51)
- JSON and envconfig serialization support for `HexColor` (#42)

### Fixed
- RGB to/from XYZ conversion is more accurate
- A bug in `XYZToLuvWhiteRef` that only applied to very small values was fixed
- RGB to/from XYZ conversion is more accurate (#51)
- A bug in `XYZToLuvWhiteRef` that only applied to very small values was fixed (#51)
- `BlendHCL` output is clamped so that it's not invalid (#46)


Expand Down
2 changes: 1 addition & 1 deletion hexcolor.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (hc HexColor) MarshalJSON() ([]byte, error) {
return json.Marshal(Color(hc).Hex())
}

// Decode - deserilize function for https://github.com/kelseyhightower/envconfig
// Decode - deserialize function for https://github.com/kelseyhightower/envconfig
func (hc *HexColor) Decode(hexCode string) error {
var col, err = Hex(hexCode)
if err != nil {
Expand Down

0 comments on commit 3a397c2

Please sign in to comment.