-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
# Changelog | ||
|
||
## [Unreleased] | ||
|
||
## [1.3.0] - 2019-12-19 | ||
### Added | ||
- All colors now have an `alpha` channel, defaulting to 1 (fully opaque). For colorspaces that support transparency, you can pass an alpha value into their constructors. | ||
- `ColorMath.parseCssColor()` can parse all valid HTML/CSS colors, including rgb, hsl, and named colors. | ||
- `ColorMath.cssKeywordColors` is a map of HTML/CSS color names to RGB the colors they represent. | ||
|
||
### Changed | ||
- Switch rounding methods to use `kotlin.math` rounding, which can slightly change conversion results in some cases. | ||
|
||
## [1.2.0] - 2018-08-19 | ||
### Added | ||
- Add ability to construct RGB instances from packed integers or Bytes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
GROUP=com.github.ajalt | ||
VERSION_NAME=1.2.0 | ||
VERSION_NAME=1.3.0 |